mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
makepanda: fix recognition of armv7 android systems
This commit is contained in:
parent
835aab5424
commit
d89efcfda2
@ -321,8 +321,12 @@ def GetHostArch():
|
|||||||
target = GetTarget()
|
target = GetTarget()
|
||||||
if target == 'windows':
|
if target == 'windows':
|
||||||
return 'x64' if host_64 else 'x86'
|
return 'x64' if host_64 else 'x86'
|
||||||
else: #TODO
|
|
||||||
return platform.machine()
|
machine = platform.machine()
|
||||||
|
if machine.startswith('armv7'):
|
||||||
|
return 'armv7a'
|
||||||
|
else:
|
||||||
|
return machine
|
||||||
|
|
||||||
def SetTarget(target, arch=None):
|
def SetTarget(target, arch=None):
|
||||||
"""Sets the target platform; the one we're compiling for. Also
|
"""Sets the target platform; the one we're compiling for. Also
|
||||||
|
Loading…
x
Reference in New Issue
Block a user