s3-waf: enable nss_winbind in make test for nss_wrapper.
[amitay/samba.git] / source3 / selftest / wscript
index f1c6510257e88ac33330be44b67cc2bec2a6060f..05d0d372383c6df1b5c0b4129a4ae9b0e854f411 100644 (file)
@@ -156,6 +156,7 @@ def cmd_testonly(opt):
     # tell build system where to find config.h
     os.environ['CONFIG_H'] = 'bin/default/source3/include/config.h'
     os.environ['VFSLIBDIR'] = os.path.abspath('bin/modules/vfs')
     # tell build system where to find config.h
     os.environ['CONFIG_H'] = 'bin/default/source3/include/config.h'
     os.environ['VFSLIBDIR'] = os.path.abspath('bin/modules/vfs')
+    os.environ['NSS_WRAPPER_WINBIND_SO_PATH'] = os.path.abspath('bin/default/nsswitch/libnss-winbind.so')
 
     st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
     if os.path.exists(st_done):
 
     st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
     if os.path.exists(st_done):