link clamav_lib to the plugin and not to the main program
[claws.git] / src / plugins / clamav / Makefile.am
index 7e5f04ee5c1830151563cfc9bc2b5bac87fc5ec3..5614e7df201c9b2b1d15b25d0ab87b944adee71e 100644 (file)
@@ -7,8 +7,9 @@ clamav_plugin_la_SOURCES = \
 
 clamav_plugin_la_LDFLAGS = \
        -avoid-version -module \
-       $(GTK_LIBS)
-
+       $(GTK_LIBS) \
+       $(CLAMAV_LIBS)
+       
 clamav_plugin_gtk_la_SOURCES = \
        clamav_plugin_gtk.c clamav_plugin.h
 
@@ -20,8 +21,7 @@ INCLUDES = \
        -I../.. \
        -I../../common \
        -I../../gtk \
-       $(CLAMAV_CFLAGS) \
-       -I$(includedir)
+       -I$(CLAMAV_LIBS)
 
 CPPFLAGS = \
        $(ASPELL_CFLAGS) \