Linker flags for libffi did not work with preinstalled versions.

This commit is contained in:
Juan Jose Garcia Ripoll 2011-02-27 10:56:37 +01:00
parent fe34270379
commit a573268a8c
2 changed files with 2 additions and 2 deletions

2
src/aclocal.m4 vendored
View file

@ -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

2
src/configure vendored
View file

@ -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