waf: Put private libraries in a separate directory when building.
[samba.git] / source4 / selftest / wscript
index 2273def93095f127f1a0606d88fe3880b9339395..19f7a0bb932644f62f406614a3985aeb97155bad 100644 (file)
@@ -140,6 +140,7 @@ def cmd_testonly(opt):
 
     # this is needed for systems without rpath, or with rpath disabled
     ADD_LD_LIBRARY_PATH('bin/shared')
+    ADD_LD_LIBRARY_PATH('bin/shared/private')
 
     # if we are using a system version of ldb then we need to tell it to
     # load modules from our modules path