mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
makepanda: Don't use SOABI from config vars when cross-compiling
[skip ci]
This commit is contained in:
parent
af6230cfda
commit
954bc75314
@ -3327,10 +3327,14 @@ def SetOrigExt(x, v):
|
||||
ORIG_EXT[x] = v
|
||||
|
||||
def GetExtensionSuffix():
|
||||
if CrossCompiling():
|
||||
return '.{0}.so'.format(GetPythonABI())
|
||||
else:
|
||||
import _imp
|
||||
return _imp.extension_suffixes()[0]
|
||||
|
||||
def GetPythonABI():
|
||||
if not CrossCompiling():
|
||||
soabi = sysconfig.get_config_var('SOABI')
|
||||
if soabi:
|
||||
return soabi
|
||||
|
Loading…
x
Reference in New Issue
Block a user