summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/config/Make.rules.SunOS4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/config/Make.rules.SunOS b/cpp/config/Make.rules.SunOS
index bd5eb4576ae..dd7e94199a9 100644
--- a/cpp/config/Make.rules.SunOS
+++ b/cpp/config/Make.rules.SunOS
@@ -101,9 +101,9 @@ ifeq ($(CXX),CC)
mklib = $(CXX) -xar -o $(1) $(2)
ifneq ($(embedded_runpath_prefix),)
- LDPLATFORMFLAGS = -R $(runpath_libdir) -z text
+ LDPLATFORMFLAGS = -R $(runpath_libdir):/usr/sfw/$(libsubdir) -z text
else
- LDPLATFORMFLAGS = -z text
+ LDPLATFORMFLAGS = -R /usr/sfw/$(libsubdir) -z text
endif
endif