summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-08 17:10:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-08 19:33:13 +1000
commit21c2e8b378dda0ea9a5af6b90bc1a50eda1b9534 (patch)
tree4233a63a883d403f1096522314a68631e0c52714 /source4
parent2bc6339ed8a954bf7ffd999230449cc3d924bdb9 (diff)
downloadsamba-21c2e8b378dda0ea9a5af6b90bc1a50eda1b9534.tar.gz
samba-21c2e8b378dda0ea9a5af6b90bc1a50eda1b9534.tar.bz2
samba-21c2e8b378dda0ea9a5af6b90bc1a50eda1b9534.zip
build: make LIBWBCLIENT_OLD and auth_unix_token libraries
This assists with avoiding duplicate symbols. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/wscript_build11
-rw-r--r--source4/libcli/wbclient/wscript_build9
2 files changed, 11 insertions, 9 deletions
diff --git a/source4/auth/wscript_build b/source4/auth/wscript_build
index 91ec1ebca1..079857dbb7 100644
--- a/source4/auth/wscript_build
+++ b/source4/auth/wscript_build
@@ -15,11 +15,12 @@ bld.SAMBA_SUBSYSTEM('auth_session',
deps='samdb auth4_sam'
)
-bld.SAMBA_SUBSYSTEM('auth_unix_token',
- source='unix_token.c',
- autoproto='unix_token_proto.h',
- public_deps='LIBWBCLIENT_OLD',
- )
+bld.SAMBA_LIBRARY('auth_unix_token',
+ source='unix_token.c',
+ autoproto='unix_token_proto.h',
+ public_deps='LIBWBCLIENT_OLD',
+ private_library=True,
+ )
bld.SAMBA_SUBSYSTEM('samba_server_gensec',
diff --git a/source4/libcli/wbclient/wscript_build b/source4/libcli/wbclient/wscript_build
index 8451ca3490..85439fc004 100644
--- a/source4/libcli/wbclient/wscript_build
+++ b/source4/libcli/wbclient/wscript_build
@@ -1,8 +1,9 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBWBCLIENT_OLD',
- source='wbclient.c',
- public_deps='errors events',
- deps='NDR_WINBIND MESSAGING RPC_NDR_WINBIND'
+bld.SAMBA_LIBRARY('LIBWBCLIENT_OLD',
+ source='wbclient.c',
+ public_deps='errors events',
+ deps='NDR_WINBIND MESSAGING RPC_NDR_WINBIND',
+ private_library=True
)