mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Use -rpath instead of -R
This commit is contained in:
parent
4ee1cc3b37
commit
1cd61952b0
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ for i in /usr/pkg /sw /opt /opt/local /usr/local; do
|
||||||
AC_MSG_CHECKING([for $i/lib library directory])
|
AC_MSG_CHECKING([for $i/lib library directory])
|
||||||
if test -d $i/lib; then
|
if test -d $i/lib; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
LDFLAGS="$LDFLAGS -L$i/lib/ -R$i/lib/"
|
LDFLAGS="$LDFLAGS -L$i/lib/ -Wl,-rpath,$i/lib/"
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue