s4-dsdb: make SAMDB_COMMON into a private library
authorAndrew Tridgell <tridge@samba.org>
Wed, 20 Oct 2010 07:19:55 +0000 (18:19 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:23 +0000 (19:03 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/dsdb/wscript_build

index db2f38b1b1daa47d77fd391937e1c5749b1ed482..6955eb49d364baafebcbc21dbe6d279747ffcb84 100644 (file)
@@ -11,11 +11,12 @@ bld.SAMBA_LIBRARY('SAMDB',
        )
 
 
-bld.SAMBA_SUBSYSTEM('SAMDB_COMMON',
-       source='common/util.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c',
-       autoproto='common/proto.h',
-       deps='ldb NDR_DRSBLOBS LIBCLI_LDAP_NDR UTIL_LDB LIBCLI_AUTH LIBTSOCKET samba_socket LIBSAMBA-HOSTCONFIG'
-       )
+bld.SAMBA_LIBRARY('SAMDB_COMMON',
+                  source='common/util.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c',
+                  autoproto='common/proto.h',
+                  private_library=True,
+                  deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH LIBSAMBA-HOSTCONFIG'
+                  )
 
 
 bld.SAMBA_SUBSYSTEM('SAMDB_SCHEMA',