summaryrefslogtreecommitdiff
path: root/source4/selftest/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-20 23:41:15 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:58 +1000
commitdc9010572c1d32a4e1c82afbee2a359c429cc9aa (patch)
treebef5d94aba307ca55c9768f8d6af2f35d7f2bb35 /source4/selftest/wscript
parent9a2ea72d2d1affa853a70131301de96f258178a8 (diff)
downloadsamba-dc9010572c1d32a4e1c82afbee2a359c429cc9aa.tar.gz
samba-dc9010572c1d32a4e1c82afbee2a359c429cc9aa.tar.bz2
samba-dc9010572c1d32a4e1c82afbee2a359c429cc9aa.zip
build: support systems without rpath
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)