build: make LIBWBCLIENT_OLD and auth_unix_token libraries
authorAndrew Bartlett <abartlet@samba.org>
Thu, 8 Sep 2011 07:10:27 +0000 (17:10 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Sep 2011 09:33:13 +0000 (19:33 +1000)
This assists with avoiding duplicate symbols.

Andrew Bartlett

source4/auth/wscript_build
source4/libcli/wbclient/wscript_build

index 91ec1ebca1c92b1a5586cd1157a3650d20522e22..079857dbb7ebc1cb8ed558f8aa5dfe8b8b4f4e23 100644 (file)
@@ -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',
index 8451ca349007de3a9331e415593a22757b610cd7..85439fc0040db87ec379b8aa4f951f717a3c8245 100644 (file)
@@ -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
        )