use both lib64 and lib
This commit is contained in:
parent
9597d1e75f
commit
0e2055d359
2
configure
vendored
2
configure
vendored
@ -4760,7 +4760,7 @@ if test "${with_readline+set}" = set; then :
|
|||||||
else
|
else
|
||||||
yap_cv_readline=$with_readline
|
yap_cv_readline=$with_readline
|
||||||
if test -d "${yap_cv_readline}/lib64" -a "$YAP_TARGET" = amd64; then
|
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
|
else
|
||||||
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
|
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
@ -317,7 +317,7 @@ AC_ARG_WITH(readline,
|
|||||||
else
|
else
|
||||||
yap_cv_readline=$with_readline
|
yap_cv_readline=$with_readline
|
||||||
if test -d "${yap_cv_readline}/lib64" -a "$YAP_TARGET" = amd64; then
|
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
|
else
|
||||||
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
|
LDFLAGS="-L${yap_cv_readline}/lib $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user