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:
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`
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