Commit 30c948ab authored by Christoph Reiter's avatar Christoph Reiter 🐍

python.m4: don't pass redundant --libs to python-config

--libs is a subset of --ldflags which is already passed.
This works around a msys2 bug in python-config:
https://github.com/Alexpux/MINGW-packages/pull/4118
parent e36350e3
......@@ -64,7 +64,7 @@ AC_DEFUN([AM_CHECK_PYTHON_LIBS],
AC_MSG_CHECKING(for libraries required to link against libpython)
dnl deduce PYTHON_LIBS
if test "x$PYTHON_LIBS" = x; then
PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
PYTHON_LIBS=`$PYTHON-config --ldflags`
fi
AC_SUBST(PYTHON_LIBS)
dnl check if libpython exist:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment