summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-06-17 09:08:07 +0000
committerOliver Bolte <obo@openoffice.org>2005-06-17 09:08:07 +0000
commit695b24b14bd43d64f636301c4dee56be194c6158 (patch)
treec3eef5d4a145c367b7026cac357f6825cf960fa7 /cpputools
parent2c9df7dfa8180214537fb3426c996ff2157e0539 (diff)
INTEGRATION: CWS sb31 (1.10.24); FILE MERGED
2005/06/10 13:50:50 sb 1.10.24.4: #121392# Made STLport a public part of the URE. 2005/05/04 14:55:04 sb 1.10.24.3: #121392# Fixed platform-dependency of previous fix. 2005/04/28 13:54:01 sb 1.10.24.2: #121392# Include all four UNO runtime libraries, so that C++ UNO components running in the uno executable have a defined environment. 2005/04/18 12:44:46 sb 1.10.24.1: #121392# Change RPATH of uno executable so that it is functional within a URE.
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/cpputools/source/unoexe/makefile.mk b/cpputools/source/unoexe/makefile.mk
index 594297a2593d..6cffbecba2bd 100644
--- a/cpputools/source/unoexe/makefile.mk
+++ b/cpputools/source/unoexe/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.10 $
+# $Revision: 1.11 $
#
-# last change: $Author: vg $ $Date: 2003-12-16 11:45:39 $
+# last change: $Author: obo $ $Date: 2005-06-17 10:08:07 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -67,6 +67,12 @@ LIBTARGET=NO
ENABLE_EXCEPTIONS=TRUE
NO_BSYMBOLIC=TRUE
+.IF "$(OS)" == "LINUX"
+LINKFLAGSRUNPATH = -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
+.ELIF "$(OS)" == "SOLARIS"
+LINKFLAGSRUNPATH = -R\''$$ORIGIN/../lib:$$ORIGIN'\'
+.ENDIF
+
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
@@ -108,8 +114,12 @@ DEPOBJFILES=$(OBJ)$/unoexe.obj
APP1TARGET=$(TARGET)
APP1OBJS=$(DEPOBJFILES)
+# Include all four UNO runtime libraries, so that C++ UNO components running in
+# the uno executable have a defined environment (stlport is already included via
+# APP1STDLIB):
APP1STDLIBS= \
$(SALLIB) \
+ $(SALHELPERLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)