Make sure this script works with shared library builds as well.

This commit is contained in:
Richard Levitte 2004-04-15 16:24:44 +00:00
parent 5d4558d1eb
commit 54f581d3c7

View File

@ -7,10 +7,14 @@ lib=$1
exe=$2 exe=$2
# deal with the case where we're run from within the build and OpenSSL is # deal with the case where we're run from within the build and OpenSSL is
# not yet installed # not yet installed. Also, make sure LD_LIBRARY_PATH is properly set in
# case shared libraries are built.
if [ "X$TOP" != "X" ] if [ "X$TOP" != "X" ]
then then
PATH=$TOP/apps:$PATH PATH=$TOP/apps:$PATH
LD_LIBRARY_PATH=$TOP; export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH
fi fi
elib=`echo $lib| sed 's/\//\\\\\//g'` elib=`echo $lib| sed 's/\//\\\\\//g'`