tdo not use rpath on Darwin - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 108559b2d7fc6195b3b72cec2409718937c76b82 (DIR) parent 803292c631c8e80a0596a011a901e72c8e0e0edc (HTM) Author: rsc <devnull@localhost> Date: Wed, 19 Jan 2005 00:25:38 +0000 do not use rpath on Darwin Diffstat: M bin/9l | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- (DIR) diff --git a/bin/9l b/bin/9l t@@ -161,10 +161,12 @@ tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}" case "$tag" in *OpenBSD*) ld=gcc + userpath=true extralibs="$extralibs -lutil -lpthread" ;; *FreeBSD*) ld=gcc + userpath=true extralibs="$extralibs -lutil" case "`uname -r`" in [5-9].*) t@@ -174,10 +176,12 @@ case "$tag" in ;; *BSD*) ld=gcc + userpath=true extralibs="$extralibs -lutil" ;; *Linux*) ld=gcc + userpath=true extralibs="$extralibs -lutil" case "${SYSVERSION:-`uname -r`}" in 2.6.*) t@@ -207,8 +211,8 @@ case "$tag" in exit 1 esac -case "$ld" in -gcc) +case "$userpath" in +true) for i in "$libsl $@" do case "$i" in