From 2380a1eeab0d8020afbdb16d2e2deb8bcc4690c1 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Fri, 26 Jul 2013 15:28:22 +0200 Subject: [PATCH 1/1] Fix python check resetting LIBS on win32 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 23b0d207b..5d493aa2c 100644 --- a/configure.ac +++ b/configure.ac @@ -1198,10 +1198,10 @@ AM_PATH_PYTHON([2.5], [ fi if test x"$HAVE_PYTHON" = xyes; then + _save_libs="$LIBS" if test x"$platform_win32" = xno; then # libpython.so PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so" - _save_libs="$LIBS" LIBS="-ldl" AC_MSG_CHECKING([whether to dlopen $PYTHON_SHARED_LIB works]) AC_RUN_IFELSE( -- 2.25.1