diff --git a/configure b/configure index b4d74bc1d..cde5e738c 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 30066090a..74f284ba7 100755 --- a/configure.in +++ b/configure.in @@ -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