summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-12-22 13:23:47 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-12-22 13:23:47 -0330
commit0f911df00debef6497bf0e962b7e057dbe3d2e5a (patch)
treeb94e76aa65afe9e134e0dd0d1b0d37368fdb711b /cpp
parentbug 4551 - PHP test suite broken for RPM install (diff)
downloadice-0f911df00debef6497bf0e962b7e057dbe3d2e5a.tar.bz2
ice-0f911df00debef6497bf0e962b7e057dbe3d2e5a.tar.xz
ice-0f911df00debef6497bf0e962b7e057dbe3d2e5a.zip
Bug 4547 - no runpath in solaris binaries
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