extension_ldflags += \
-no-undefined \
-shrext ".pyd"
---- pygobject-3.0.0/configure.ac.wiget 2011-09-24 19:56:06.566708752 +0200
-+++ pygobject-3.0.0/configure.ac 2011-09-24 19:56:29.259058498 +0200
-@@ -102,9 +102,7 @@ if test $build_py3k = true ; then
- fi
+--- pygobject-3.28.1/configure.ac.fix 2018-03-24 19:28:50.810204421 +0100
++++ pygobject-3.28.1/configure.ac 2018-03-24 19:29:02.056860075 +0100
+@@ -118,9 +118,7 @@ PYTHON_SO=`$PYTHON -c "import distutils.
+ AC_SUBST(PYTHON_SO)
- AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
+ PYG_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
-if test "x$link_python_libs" = "xyes"; then
- AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows and Darwin require Python modules to be explicitly linked to libpython.]))
+ PYG_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
-fi
- AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h])
- old_CPPFLAGS=$CPPFLAGS
+ dnl get rid of the -export-dynamic stuff from the configure flags ...
+ export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`