wafsamba: allow certain public libraries to be forced to be private
[mat/samba.git] / buildtools / wafsamba / samba_bundled.py
index c5b402229752d3a59777f13c49460ac05d7baa64..1a5d565b382e17b742353859fc235a430e864021 100644 (file)
@@ -81,6 +81,10 @@ def LIB_MUST_BE_BUNDLED(conf, libname):
     return ('ALL' in conf.env.BUNDLED_LIBS or 
             libname in conf.env.BUNDLED_LIBS)
 
+@conf
+def LIB_MUST_BE_PRIVATE(conf, libname):
+    return ('ALL' in conf.env.PRIVATE_LIBS or
+            libname in conf.env.PRIVATE_LIBS)
 
 @conf
 def CHECK_PREREQUISITES(conf, prereqs):