summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaul.edwards%sun.com <devnull@localhost>2004-06-19 06:13:45 +0000
committersaul.edwards%sun.com <devnull@localhost>2004-06-19 06:13:45 +0000
commit122d69c27d01b5203cdc69b63701c641df3746dd (patch)
tree97019f92f87e04da115c047ef5bf6de1a7e09549
parent45f098ed782b2b43295b313768cc04c39609c783 (diff)
downloadnss-hg-122d69c27d01b5203cdc69b63701c641df3746dd.tar.gz
Bug 245518: add rpath in BUILD_SUN_PKG, add $ORIGIN to rpath.
-rw-r--r--security/nss/cmd/platlibs.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nss/cmd/platlibs.mk b/security/nss/cmd/platlibs.mk
index a160c3176..68ee0ffab 100644
--- a/security/nss/cmd/platlibs.mk
+++ b/security/nss/cmd/platlibs.mk
@@ -194,6 +194,17 @@ endif
endif
endif
+ifeq ($(OS_ARCH), SunOS)
+EXTRA_SHARED_LIBS += -R '$$ORIGIN/../lib'
+ifeq ($(BUILD_SUN_PKG), 1)
+ifeq ($(USE_64), 1)
+EXTRA_SHARED_LIBS += -R '/usr/lib/mps/secv1/sparcv9'
+else
+EXTRA_SHARED_LIBS += -R '/usr/lib/mps/secv1'
+endif
+endif
+endif
+
ifeq ($(OS_ARCH), Darwin)
EXTRA_SHARED_LIBS += -dylib_file @executable_path/libsoftokn3.dylib:$(DIST)/lib/libsoftokn3.dylib
endif