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 b8d81ec commit 9f9f263Copy full SHA for 9f9f263
1 file changed
setup.py
@@ -22,7 +22,7 @@
22
# modules (Issue #21121).
23
cflags = sysconfig.get_config_var('CFLAGS')
24
py_cflags_nodist = sysconfig.get_config_var('PY_CFLAGS_NODIST')
25
-sysconfig.get_config_vars()['CFLAGS'] = cflags + ' ' + py_cflags_nodist
+sysconfig.get_config_vars()['CFLAGS'] = cflags + ' ' + py_cflags_nodist + ' -D Py_NEWCAPI_NO_STRUCT'
26
27
class Dummy:
28
"""Hack for parallel build"""
0 commit comments