1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-28 10:01:00 +03:00

Fix detection of python linker flags

python-config has both --libs and --ldflags, and we should use the
later to link the python binding
This commit is contained in:
Daniel Macks
2010-03-15 10:31:24 +01:00
committed by Daniel Veillard
parent 38af74f7b1
commit 12febe86fe

View File

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