summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-23 00:05:31 -0700
committerGünther Deschner <gd@samba.org>2010-09-23 00:15:22 -0700
commit34008ef6b35f09b37a3cc7d99cb085e9ff9c85df (patch)
tree37876144b3fb20d0a4ea76371dfa4f02d2107ade /source3
parent099394a8f768e16c15b001bd27757ecf4b1d5f0b (diff)
downloadsamba-34008ef6b35f09b37a3cc7d99cb085e9ff9c85df.tar.gz
samba-34008ef6b35f09b37a3cc7d99cb085e9ff9c85df.tar.bz2
samba-34008ef6b35f09b37a3cc7d99cb085e9ff9c85df.zip
s3-build: fix the build of test_lp_load.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/param/test_lp_load.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 6c89ccdc82..68e0e82c6b 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -3067,11 +3067,11 @@ bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(L
$(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
$(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
-bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
+bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
@echo "Linking $@"
@$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
$(LDFLAGS) $(DYNEXP) $(LIBS) \
- $(LDAP_LIBS) \
+ $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
$(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
diff --git a/source3/param/test_lp_load.c b/source3/param/test_lp_load.c
index 1ec123e70a..53ac23b99c 100644
--- a/source3/param/test_lp_load.c
+++ b/source3/param/test_lp_load.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
extern bool AllowDebugChange;