summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-01-30 10:53:18 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-01 21:54:21 +0100
commit8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4 (patch)
tree2761fe7d45b1864f21f3d4d8dadca0337b99b05d /source3/wscript_build
parent8c66c8c756bde8654a3c1d07082b0ca5d357dc29 (diff)
downloadsamba-8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4.tar.gz
samba-8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4.tar.bz2
samba-8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4.zip
s3-lib: Fix util_cmdline which doesn't use popt.
This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 417e096e57..5df95197bf 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -643,7 +643,7 @@ bld.SAMBA3_LIBRARY('netapi',
source=LIBNETAPI_SRC,
public_deps='''
talloc
- popt
+ util_cmdline
msrpc3
ads
NDR_LIBNETAPI
@@ -800,7 +800,7 @@ bld.SAMBA3_LIBRARY('popt_samba3',
bld.SAMBA3_LIBRARY('util_cmdline',
source='lib/util_cmdline.c',
- deps='secrets3 popt',
+ deps='secrets3',
private_library=True)
bld.SAMBA3_SUBSYSTEM('KRBCLIENT',
@@ -1422,7 +1422,7 @@ bld.SAMBA3_BINARY('smbget',
source=SMBGET_SRC,
deps='''
talloc
- popt
+ popt_samba3
smbclient''',
vars=locals())