Commit e2a80361 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #777 from dstufft/fix-py-limited-api

Use EXT_SUFFIX instead of SO for py_limited_api renaming
parents 11db2604 00ac09a5
...@@ -111,7 +111,7 @@ class build_ext(_build_ext): ...@@ -111,7 +111,7 @@ class build_ext(_build_ext):
and get_abi3_suffix() and get_abi3_suffix()
) )
if use_abi3: if use_abi3:
so_ext = get_config_var('SO') so_ext = get_config_var('EXT_SUFFIX')
filename = filename[:-len(so_ext)] filename = filename[:-len(so_ext)]
filename = filename + get_abi3_suffix() filename = filename + get_abi3_suffix()
if isinstance(ext, Library): if isinstance(ext, Library):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment