From 12febe86fe7831efa1cc6a49bbd6fa94c057b2f5 Mon Sep 17 00:00:00 2001 From: Daniel Macks Date: Mon, 15 Mar 2010 10:31:24 +0100 Subject: [PATCH] Fix detection of python linker flags python-config has both --libs and --ldflags, and we should use the later to link the python binding --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index fbfebf622..26f546761 100644 --- a/configure.in +++ b/configure.in @@ -747,7 +747,7 @@ if test "$with_python" != "no" ; then PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` fi fi - PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` + PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags` fi if test "$with_python" != "" then