use both lib64 and lib

This commit is contained in:
Vitor Santos Costa 2012-09-26 13:53:50 +01:00
parent 9597d1e75f
commit 0e2055d359
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -4760,7 +4760,7 @@ if test "${with_readline+set}" = set; then :
else
yap_cv_readline=$with_readline
if test -d "${yap_cv_readline}/lib64" -a "$YAP_TARGET" = amd64; then
LDFLAGS="-L${yap_cv_readline}/lib64 $LDFLAGS"
LDFLAGS="-L${yap_cv_readline}/lib64 -L${yap_cv_readline}/lib $LDFLAGS"
else
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
fi

View File

@ -317,7 +317,7 @@ AC_ARG_WITH(readline,
else
yap_cv_readline=$with_readline
if test -d "${yap_cv_readline}/lib64" -a "$YAP_TARGET" = amd64; then
LDFLAGS="-L${yap_cv_readline}/lib64 $LDFLAGS"
LDFLAGS="-L${yap_cv_readline}/lib64 -L${yap_cv_readline}/lib $LDFLAGS"
else
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
fi