summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 19:13:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 19:13:28 +0100
commit07f296b03db6253e22fdc86fe7e858d58638bc1a (patch)
tree793faac5d6607157095b50fd071fd28f2f8ab0aa
parent199bcbe8ae425cdf9d4561a08430ea274dd6e030 (diff)
downloadsamba-07f296b03db6253e22fdc86fe7e858d58638bc1a.tar.gz
samba-07f296b03db6253e22fdc86fe7e858d58638bc1a.tar.bz2
samba-07f296b03db6253e22fdc86fe7e858d58638bc1a.zip
Set right LD_LIBRARY_PATH for finding Samba4's libraries.
-rwxr-xr-xsource3/script/tests/selftest.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 3b65aaa760..e8adc32c7c 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -68,20 +68,20 @@ export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR
PATH=bin:$PATH
export PATH
-if test x"$LD_LIBRARY_PATH" != x""; then
- LD_LIBRARY_PATH="$BINDIR:$LD_LIBRARY_PATH"
-else
- LD_LIBRARY_PATH="$BINDIR"
-fi
-echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
-export LD_LIBRARY_PATH
-
SAMBA4BINDIR=`dirname $SMBTORTURE4`
SAMBA4SHAREDDIR="$SAMBA4BINDIR/shared"
export SAMBA4SHAREDDIR
export SMBTORTURE4
+if test x"$LD_LIBRARY_PATH" != x""; then
+ LD_LIBRARY_PATH="$BINDIR:$SAMBA4SHAREDDIR:$LD_LIBRARY_PATH"
+else
+ LD_LIBRARY_PATH="$BINDIR:$SAMBA4SHAREDDIR"
+fi
+echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
+export LD_LIBRARY_PATH
+
##
## verify that we were built with --enable-socket-wrapper
##