summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2007-05-22 14:41:40 +0000
committerFabian Groffen <grobian@gentoo.org>2007-05-22 14:41:40 +0000
commitad877785ec8145288d939efb1df9392ebef40301 (patch)
treea0d3947e5ebdd09947eddfe0c8ef4ccca91103c3 /eclass
parentapparently I screwed up the conf-file location (diff)
downloadprefix-ad877785ec8145288d939efb1df9392ebef40301.tar.gz
prefix-ad877785ec8145288d939efb1df9392ebef40301.tar.bz2
prefix-ad877785ec8145288d939efb1df9392ebef40301.zip
embedd rpath to the GNUstep libraries on platforms that need them (ELF
as far as I know) svn path=/prefix-overlay/; revision=33
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnustep-2.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/gnustep-2.eclass b/eclass/gnustep-2.eclass
index 742f096..6c8eff2 100644
--- a/eclass/gnustep-2.eclass
+++ b/eclass/gnustep-2.eclass
@@ -133,6 +133,12 @@ egnustep_env() {
GNUSTEP_MAKEFILES=\"\${GNUSTEP_SYSTEM_ROOT}\"/Library/Makefiles \
TAR_OPTIONS=\"\${TAR_OPTIONS} --no-same-owner\" \
messages=yes -j1"
+ case ${CHOST} in
+ *-linux-gnu|*-solaris*)
+ append-ldflags -Wl,-rpath="${GNUSTEP_SYSTEM_ROOT}"/Library/Libraries
+ ;;
+ esac
+
if ! use debug ; then
__GS_MAKE_EVAL="${__GS_MAKE_EVAL} debug=no"
fi