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:
committed by
Daniel Veillard
parent
38af74f7b1
commit
12febe86fe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user