summaryrefslogtreecommitdiff
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2016-09-09 07:20:49 -0400
committerDonald Stufft <donald@stufft.io>2016-09-09 07:20:49 -0400
commit00ac09a54693e77cbe791d0f8ca85db20a547e14 (patch)
tree96af877f2ef5796549688b865bd31a94f8c05d08 /setuptools/command/build_ext.py
parent11db2604b7a5d5c119b26124aa71e6c6f24fc8f8 (diff)
downloadpython-setuptools-git-00ac09a54693e77cbe791d0f8ca85db20a547e14.tar.gz
Use EXT_SUFFIX instead of SO for py_limited_api renaming
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r--setuptools/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index f994b626..454c91fb 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -111,7 +111,7 @@ class build_ext(_build_ext):
and get_abi3_suffix()
)
if use_abi3:
- so_ext = get_config_var('SO')
+ so_ext = get_config_var('EXT_SUFFIX')
filename = filename[:-len(so_ext)]
filename = filename + get_abi3_suffix()
if isinstance(ext, Library):