[gobject-introspection] python.m4: don't pass redundant --libs to python-config



commit 30c948ab9d3d7c69ed30f16fcad36800f7470080
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Fri Jul 27 22:26:48 2018 +0200

    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

 m4/python.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]