s3-autoconf: Add missing libtevent dependency for dbwrap_torture.
authorMichael Adam <obnox@samba.org>
Tue, 18 Jun 2013 09:47:17 +0000 (11:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 Jun 2013 07:30:17 +0000 (09:30 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Karolin Seeger <kseeger@samba.org>
The last 3 patches are part of a fix for bug #9881 - Samba doesn't check for
system libtevent.

source3/Makefile.in

index 68bade162bac73260b2e69794bce28e37277d380..9e8e03d57a7f9d27b2156734069132fdbfe3c136 100644 (file)
@@ -3283,13 +3283,13 @@ bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBTEVENT)
 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
        @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
 
-bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
+bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBTEVENT)
        @echo "Linking $@"
        @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
                $(LDFLAGS) $(DYNEXP) $(LIBS) \
                $(LDAP_LIBS) \
                $(POPT_LIBS) \
-               $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
+               $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBTEVENT_LIBS)
 
 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
        @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<