summaryrefslogtreecommitdiff
path: root/source4/selftest/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/selftest/wscript')
-rw-r--r--source4/selftest/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index 4fea799ecf..858d92a9aa 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -67,6 +67,9 @@ def cmd_testonly(opt):
if Options.options.VALGRIND_SERVER:
os.environ['SAMBA_VALGRIND'] = 'xterm -n server -e ../selftest/valgrind_run A=B '
+ # this is needed for systems without rpath, or with rpath disabled
+ os.environ['LD_LIBRARY_PATH'] = 'bin/shared'
+
st_done = 'st/st_done'
if os.path.exists(st_done):
os.unlink(st_done)