Browse code

Milter Makefile fix.

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@139 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2003/12/05 10:36:16
Showing 3 changed files
... ...
@@ -1,3 +1,8 @@
1
+Fri Dec  5 02:31:24 CET 2003 (tk)
2
+---------------------------------
3
+  * clamav-milter: Makefile: link against libclamav (needed for cli_strtok())
4
+		   Problem reported by Troy and solved by Thomas Lamy.
5
+
1 6
 Wed Dec  3 22:03:19 CET 2003 (tk)
2 7
 ---------------------------------
3 8
   * libclamav: cli_scandir(): fixed a recursive loop (a wrong file argument
... ...
@@ -32,6 +32,6 @@ endif
32 32
 
33 33
 DEFS = @DEFS@
34 34
 # CLAMD_LIBS is used, because clamav-milter requires the same libraries as clamd
35
-LIBS = -L../libclamav -L/usr/lib/libmilter -lmilter @CLAMD_LIBS@
35
+LIBS = -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter @CLAMD_LIBS@
36 36
 INCLUDES = -I../clamd -I../libclamav -I../clamscan
37 37
 EXTRA_DIST = clamav-milter.c clamd.sh clamav-milter.sh INSTALL
... ...
@@ -126,7 +126,7 @@ install_sh = @install_sh@
126 126
 
127 127
 DEFS = @DEFS@
128 128
 # CLAMD_LIBS is used, because clamav-milter requires the same libraries as clamd
129
-LIBS = -L../libclamav -L/usr/lib/libmilter -lmilter @CLAMD_LIBS@
129
+LIBS = -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter @CLAMD_LIBS@
130 130
 INCLUDES = -I../clamd -I../libclamav -I../clamscan
131 131
 EXTRA_DIST = clamav-milter.c clamd.sh clamav-milter.sh INSTALL
132 132
 subdir = clamav-milter