MacOS X does not support "-Wl,-rpath-link" but supports "-Wl,-rpath"

This commit is contained in:
Pierre Pronchery 2012-08-01 17:38:44 +00:00
parent 0a9fe4faa8
commit b3c13fc1ff

View File

@ -103,7 +103,7 @@ while [ $# -gt 0 ]; do
RPATH="-Wl,-rpath-link,\${libdir} -Wl,-rpath,\${libdir}" RPATH="-Wl,-rpath-link,\${libdir} -Wl,-rpath,\${libdir}"
case $(uname -s) in case $(uname -s) in
Darwin) Darwin)
RPATH= RPATH="-Wl,-rpath,\${libdir}"
;; ;;
esac esac