From 54f581d3c709c664261cdb96a282d20d14282cee Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 15 Apr 2004 16:24:44 +0000 Subject: [PATCH] Make sure this script works with shared library builds as well. --- fips/openssl_fips_fingerprint | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'` -- 2.25.1