[libxml2] Fix detection of python linker flags
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix detection of python linker flags
- Date: Mon, 15 Mar 2010 09:32:40 +0000 (UTC)
commit 12febe86fe7831efa1cc6a49bbd6fa94c057b2f5
Author: Daniel Macks <dmacks netspace org>
Date: Mon Mar 15 10:31:24 2010 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index fbfebf6..26f5467 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]