--- clamav-milter/Makefile.in.orig Wed Nov 12 02:36:48 2003 +++ clamav-milter/Makefile.in Fri Nov 21 18:23:35 2003 @@ -162,7 +162,7 @@ $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ + $(LIBS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ CFLAGS = @CFLAGS@ DIST_SOURCES = $(clamav_milter_SOURCES) @@ -209,7 +209,7 @@ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) clamav-milter$(EXEEXT): $(clamav_milter_OBJECTS) $(clamav_milter_DEPENDENCIES) @rm -f clamav-milter$(EXEEXT) - $(LINK) $(clamav_milter_LDFLAGS) $(clamav_milter_OBJECTS) $(clamav_milter_LDADD) $(LIBS) + $(LINK) $(clamav_milter_LDFLAGS) $(clamav_milter_OBJECTS) $(clamav_milter_LDADD) mostlyclean-compile: -rm -f *.$(OBJEXT) core *.core