Skip to content
Snippets Groups Projects
Commit cfdcfeb3 authored by William Welliver's avatar William Welliver
Browse files

smartlink: update the shell version of smartlink to include Darwin rpath

parent c334832b
No related branches found
No related tags found
No related merge requests found
...@@ -176,6 +176,17 @@ if test x$# != x0 ; then ...@@ -176,6 +176,17 @@ if test x$# != x0 ; then
LDOPTS="$LDOPTS -Xlinker -YP, -Xlinker $RPATH" LDOPTS="$LDOPTS -Xlinker -YP, -Xlinker $RPATH"
fi fi
;; ;;
Darwin\ *|NetBSD\ *)
if test x$LINKING != xno -a "x$RPATH" != x ; then
OIFS="$IFS"
IFS=":"
RPP="$PATH"
for RP in $RPATH ; do
LDOPTS="$LDOPTS -Wl,-rpath,$RP"
done
IFS="$OIFS"
fi
;;
*) *)
LD_LIBRARY_PATH="$RPATH" LD_LIBRARY_PATH="$RPATH"
LD_RUN_PATH="$RPATH" LD_RUN_PATH="$RPATH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment