From a573268a8c2fcc6040e4e16edac7d97fd0102082 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 27 Feb 2011 10:56:37 +0100 Subject: [PATCH] Linker flags for libffi did not work with preinstalled versions. --- src/aclocal.m4 | 2 +- src/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 96229a3ed..e1496d638 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -997,7 +997,7 @@ if test "${enable_libffi}" = auto -o "${enable_libffi}" = system; then AC_MSG_ERROR([System libffi library requested but not found.]) fi else - CORE_LIBS="${FASL_LIBS} -lffi" + FASL_LIBS="${FASL_LIBS} -lffi" fi fi if test "${enable_libffi}" = "included"; then diff --git a/src/configure b/src/configure index c71c90b30..d814a7822 100755 --- a/src/configure +++ b/src/configure @@ -7178,7 +7178,7 @@ $as_echo "$as_me: error: System libffi library requested but not found." >&2;} { (exit 1); exit 1; }; } fi else - CORE_LIBS="${FASL_LIBS} -lffi" + FASL_LIBS="${FASL_LIBS} -lffi" fi fi if test "${enable_libffi}" = "included"; then