mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
makepanda: --universal should not enable i386 when targeting 10.15+
[skip ci]
This commit is contained in:
parent
c0fd600454
commit
8c82cf5800
@ -306,13 +306,15 @@ def parseopts(args):
|
|||||||
if target_arch:
|
if target_arch:
|
||||||
exit("--universal is incompatible with --arch")
|
exit("--universal is incompatible with --arch")
|
||||||
|
|
||||||
OSX_ARCHS.append("i386")
|
|
||||||
if OSXTARGET:
|
if OSXTARGET:
|
||||||
osxver = OSXTARGET
|
osxver = OSXTARGET
|
||||||
else:
|
else:
|
||||||
maj, min = platform.mac_ver()[0].split('.')[:2]
|
maj, min = platform.mac_ver()[0].split('.')[:2]
|
||||||
osxver = int(maj), int(min)
|
osxver = int(maj), int(min)
|
||||||
|
|
||||||
|
if osxver[1] < 15:
|
||||||
|
OSX_ARCHS.append("i386")
|
||||||
|
|
||||||
if osxver[1] < 6:
|
if osxver[1] < 6:
|
||||||
OSX_ARCHS.append("ppc")
|
OSX_ARCHS.append("ppc")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user