diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-16 21:20:36 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-18 16:12:08 +0200 |
commit | 75faa9eec5fecfc033bd4941427da28e4471a516 (patch) | |
tree | 0065c6e7d8771726b7bb785ac3bfb8a9b356c4d8 /source3/wscript_build | |
parent | 41b3c38587f1153d49c1805869aa186b66501f7a (diff) | |
download | samba-75faa9eec5fecfc033bd4941427da28e4471a516.tar.gz samba-75faa9eec5fecfc033bd4941427da28e4471a516.tar.bz2 samba-75faa9eec5fecfc033bd4941427da28e4471a516.zip |
build: Make POPT_SAMBA3 a library
This avoids some duplicate symbols when libnet and libsmbclient are
linked into the same binary (smbtorture4).
Andrew Bartlett
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-x | source3/wscript_build | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 3e8b2b278f..f4ed9155e1 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -772,10 +772,11 @@ bld.SAMBA3_SUBSYSTEM('REG_FULL', deps='REG_SMBCONF', vars=locals()) -bld.SAMBA3_SUBSYSTEM('POPT_SAMBA3', - source=POPT_LIB_SRC, - deps='popt', - vars=locals()) +bld.SAMBA3_LIBRARY('POPT_SAMBA3', + source=POPT_LIB_SRC, + deps='popt', + vars=locals(), + private_library=True) bld.SAMBA3_SUBSYSTEM('KRBCLIENT', source=KRBCLIENT_SRC, |