summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-06-17 09:16:38 +0000
committerOliver Bolte <obo@openoffice.org>2005-06-17 09:16:38 +0000
commit17136b39d1c480abd2fed3411ac74d4857123bbf (patch)
tree91f452aad8299f5108d240aebeeead4c1696c4b0 /registry/tools
parent9bb38e64cd78bf86fe5352c22e36d9d4ab6b6596 (diff)
INTEGRATION: CWS sb31 (1.5.20); FILE MERGED
2005/05/04 14:46:51 sb 1.5.20.2: #121392# Fixed platform-dependency of previous fix. 2005/04/22 15:06:34 sb 1.5.20.1: #121392# Change RPATH of regcomp executable so that it is functional within a URE.
Diffstat (limited to 'registry/tools')
-rw-r--r--registry/tools/makefile.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/registry/tools/makefile.mk b/registry/tools/makefile.mk
index d24781019078..69c4318cf2d4 100644
--- a/registry/tools/makefile.mk
+++ b/registry/tools/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.5 $
+# $Revision: 1.6 $
#
-# last change: $Author: obo $ $Date: 2004-06-04 02:46:20 $
+# last change: $Author: obo $ $Date: 2005-06-17 10:16:38 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -69,6 +69,12 @@ LIBTARGET=NO
ENABLE_EXCEPTIONS := TRUE
+.IF "$(OS)" == "LINUX"
+LINKFLAGSRUNPATH = -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
+.ELIF "$(OS)" == "SOLARIS"
+LINKFLAGSRUNPATH = -R\''$$ORIGIN/../lib:$$ORIGIN'\'
+.ENDIF
+
# --- Settings -----------------------------------------------------
.INCLUDE : svpre.mk
.INCLUDE : settings.mk