summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/config/Make.rules.SunOS6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/config/Make.rules.SunOS b/cpp/config/Make.rules.SunOS
index c3cbdbfe157..5aa7f3417c2 100644
--- a/cpp/config/Make.rules.SunOS
+++ b/cpp/config/Make.rules.SunOS
@@ -152,6 +152,12 @@ ifeq ($(CXX),g++)
mklib = ar cr $(1) $(2)
+ ifneq ($(embedded_runpath_prefix),)
+ LDPLATFORMFLAGS = -R $(runpath_libdir):/usr/sfw/$(libsubdir) $(PLATFORMLIBDIRS)
+ else
+ LDPLATFORMFLAGS = -R /usr/sfw/$(libsubdir) $(PLATFORMLIBDIRS)
+ endif
+
ifeq ($(MACHINE_TYPE),i86pc)
ICONV_LIB = -liconv
endif