s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
[amitay/samba.git] / source3 / selftest / wscript
index b3139d531c6daba1d06f5c35a5fff3ec571527a3..0e3ee9ed641dd2f1f09c32b0a34fed38e319e6de 100644 (file)
@@ -120,6 +120,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')
 
     st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
     if os.path.exists(st_done):