s4-ldb: make pyldb_util a private library
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 04:26:38 +0000 (15:26 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:26 +0000 (19:03 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/lib/ldb/wscript

index e79bad3d3d2c7f59181c8efc4da4856f215ee090..ef8425bcd941004c20c79760560b629fd95393d0 100644 (file)
@@ -102,7 +102,11 @@ def build(bld):
         bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
 
 
-    bld.SAMBA_SUBSYSTEM('pyldb_util', deps='ldb', source='pyldb_util.c', pyext=True)
+    bld.SAMBA_LIBRARY('pyldb_util',
+                      deps='ldb',
+                      source='pyldb_util.c',
+                      pyext=True,
+                      private_library=True)
 
     if not bld.CONFIG_SET('USING_SYSTEM_LDB'):
         if Options.is_install: