summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
)