summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-23 00:06:17 -0700
committerGünther Deschner <gd@samba.org>2010-09-23 00:15:22 -0700
commita11d6c77e460bdb9755a66a62483b3ad0ae57373 (patch)
tree5f71394111c51642766153ee22c2ac34baafcdc3 /source3
parent34008ef6b35f09b37a3cc7d99cb085e9ff9c85df (diff)
downloadsamba-a11d6c77e460bdb9755a66a62483b3ad0ae57373.tar.gz
samba-a11d6c77e460bdb9755a66a62483b3ad0ae57373.tar.bz2
samba-a11d6c77e460bdb9755a66a62483b3ad0ae57373.zip
s3-build: fix the build of split_tokens.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/utils/split_tokens.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 68e0e82c6b..03a89c5dc5 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -3095,12 +3095,12 @@ bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
@$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
-bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
+bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
@echo "Linking $@"
@$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
$(LDFLAGS) $(DYNEXP) \
$(LIBS) $(POPT_LIBS) \
- $(LDAP_LIBS) \
+ $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
$(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
install:: installservers installbin installman \
diff --git a/source3/utils/split_tokens.c b/source3/utils/split_tokens.c
index ac4f7268e9..6c49b8b6e7 100644
--- a/source3/utils/split_tokens.c
+++ b/source3/utils/split_tokens.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "popt_common.h"
extern bool AllowDebugChange;