diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-05-22 14:41:40 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-05-22 14:41:40 +0000 |
commit | ad877785ec8145288d939efb1df9392ebef40301 (patch) | |
tree | a0d3947e5ebdd09947eddfe0c8ef4ccca91103c3 /eclass | |
parent | apparently I screwed up the conf-file location (diff) | |
download | prefix-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.eclass | 6 |
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 |