diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 889e05193ff..0337d664a07 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -50,7 +50,7 @@ cd $OLD_PWD TEST_DATA_PREFIX=$PREFIX_ABS export TEST_DATA_PREFIX -LD_LIBRARY_PATH=$PREFIX_ABS/bin:$LD_LIBRARY_PATH +LD_LIBRARY_PATH=$OLD_PWD/bin:$LD_LIBRARY_PATH export LD_LIBRARY_PATH TMPDIR=$PREFIX_ABS/tmp