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 38c2382 commit 412f5ecCopy full SHA for 412f5ec
makepanda/makepandacore.py
@@ -3260,14 +3260,8 @@ def SetOrigExt(x, v):
3260
3261
def GetExtensionSuffix():
3262
if sys.version_info >= (3, 0):
3263
- suffix = sysconfig.get_config_var('EXT_SUFFIX')
3264
- if suffix == '.so':
3265
- # On my FreeBSD system, this is not set correctly, but SOABI is.
3266
- soabi = sysconfig.get_config_var('SOABI')
3267
- if soabi:
3268
- return '.%s.so' % (soabi)
3269
- elif suffix:
3270
- return suffix
+ import _imp
+ return _imp.extension_suffixes()[0]
3271
3272
target = GetTarget()
3273
if target == 'windows':
0 commit comments