mirror of
https://github.com/python/cpython.git
synced 2025-08-26 19:55:24 +00:00
Issue #28918: Merge 3.6.
This commit is contained in:
commit
c1a26a2e47
2 changed files with 4 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -1631,7 +1631,7 @@ class PyBuildExt(build_ext):
|
|||
## ext = Extension('xx', ['xxmodule.c'])
|
||||
## self.extensions.append(ext)
|
||||
|
||||
if 'd' not in sys.abiflags:
|
||||
if 'd' not in sysconfig.get_config_var('ABIFLAGS'):
|
||||
ext = Extension('xxlimited', ['xxlimited.c'],
|
||||
define_macros=[('Py_LIMITED_API', '0x03050000')])
|
||||
self.extensions.append(ext)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue