We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e00f96 commit c63762bCopy full SHA for c63762b
tools/build-aux/m4/ax_python_devel.m4
@@ -274,6 +274,10 @@ EOD`
274
PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
275
conf = distutils.sysconfig.get_config_var; \
276
print (conf('LINKFORSHARED'))"`
277
+ if echo "$PYTHON_EXTRA_LIBS" | grep " Python.framework" >/dev/null; then
278
+ # On OSX we can hit https://bugs.python.org/issue3588
279
+ PYTHON_EXTRA_LIBS=`$PYTHON-config --ldflags`
280
+ fi
281
fi
282
AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
283
0 commit comments