diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-27 22:26:48 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-27 22:26:48 +0200 |
commit | 30c948ab9d3d7c69ed30f16fcad36800f7470080 (patch) | |
tree | e86d9e3211bfcac50ce53983534a8d05b25855c3 /m4/python.m4 | |
parent | e36350e3fdcb18a21089256b63298d6e3a49212b (diff) | |
download | gobject-introspection-30c948ab9d3d7c69ed30f16fcad36800f7470080.tar.gz |
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
Diffstat (limited to 'm4/python.m4')
-rw-r--r-- | m4/python.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/python.m4 b/m4/python.m4 index ed5559da..451fd74c 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -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: |