mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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])
|
||||
if test -d $i/lib; then
|
||||
AC_MSG_RESULT(yes)
|
||||
LDFLAGS="$LDFLAGS -L$i/lib/ -R$i/lib/"
|
||||
LDFLAGS="$LDFLAGS -L$i/lib/ -Wl,-rpath,$i/lib/"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue