summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-03-26 21:07:12 +0000
committerwtc%netscape.com <devnull@localhost>2003-03-26 21:07:12 +0000
commitec217a4f5742fbd5d04ddef916adbde548bf02d3 (patch)
treecce9699bcaed647a91f2caa9d1968e93d8b30983
parent6de37e1e603b89a5fbdcb9a0f6a4d86f0b5dc4eb (diff)
downloadnss-hg-ec217a4f5742fbd5d04ddef916adbde548bf02d3.tar.gz
Bug 195127: set the LIBPATH environment variable (used by AIX) as absolute
pathname. It seems that AIX caches shared libraries. If another app loaded the same shared library earlier, the cached copy of the shared library, including the pathname with which it was loaded, will be used. So we need to ensure that all apps load libsoftokn3.so with an absolute pathname so that the pathname is correct to all apps.
-rw-r--r--security/nss/cmd/shlibsign/sign.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/cmd/shlibsign/sign.sh b/security/nss/cmd/shlibsign/sign.sh
index b94a1e974..808a690a2 100644
--- a/security/nss/cmd/shlibsign/sign.sh
+++ b/security/nss/cmd/shlibsign/sign.sh
@@ -13,7 +13,7 @@ if [ ${3} = "YES" ]; then
fi
export PATH
else
- LIBPATH=${1}/lib
+ LIBPATH=`(cd ${1}/lib; pwd)`
export LIBPATH
SHLIB_PATH=${1}/lib
export SHLIB_PATH