From 0e2055d35969c5d1ef2eefcd964b45dff076c415 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 26 Sep 2012 13:53:50 +0100 Subject: [PATCH] use both lib64 and lib --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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