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 f6938eb787
commit b48332bdbe

View File

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