258779: Add /usr/lib/mps to RPATH for Solaris 10.

git-svn-id: svn://10.0.0.236/trunk@162514 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
saul.edwards%sun.com
2004-09-17 22:25:50 +00:00
parent 4df6f209a6
commit ee2a39fa88

View File

@@ -107,10 +107,19 @@ SHARED_LIBRARY_DIRS = \
ifeq ($(OS_TARGET),SunOS)
ifeq ($(BUILD_SUN_PKG), 1)
# The -R '$ORIGIN' linker option instructs this library to search for its
# dependencies in the same directory where it resides.
ifeq ($(USE_64), 1)
MKSHLIB += -R '$$ORIGIN:/usr/lib/mps/secv1/sparcv9:/usr/lib/mps/sparcv9'
else
MKSHLIB += -R '$$ORIGIN:/usr/lib/mps/secv1:/usr/lib/mps'
endif
else
MKSHLIB += -R '$$ORIGIN'
endif
endif
ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET)))
ifndef NS_USE_GCC