summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gnustep-2.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