summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-04-15 16:24:44 +0000
committerRichard Levitte <levitte@openssl.org>2004-04-15 16:24:44 +0000
commit54f581d3c709c664261cdb96a282d20d14282cee (patch)
tree0fee05eb562ee09de18b9a7387208d59cd3b87c3
parent5d4558d1eb181462f63559212a90ab9187ec58d0 (diff)
Make sure this script works with shared library builds as well.
-rwxr-xr-xfips/openssl_fips_fingerprint6
1 files changed, 5 insertions, 1 deletions
diff --git a/fips/openssl_fips_fingerprint b/fips/openssl_fips_fingerprint
index 3ab62de5cf..e20b38d43c 100755
--- a/fips/openssl_fips_fingerprint
+++ b/fips/openssl_fips_fingerprint
@@ -7,10 +7,14 @@ lib=$1
exe=$2
# 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" ]
then
PATH=$TOP/apps:$PATH
+ LD_LIBRARY_PATH=$TOP; export LD_LIBRARY_PATH
+else
+ LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH
fi
elib=`echo $lib| sed 's/\//\\\\\//g'`