mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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:
|
||||
exit("--universal is incompatible with --arch")
|
||||
|
||||
OSX_ARCHS.append("i386")
|
||||
if OSXTARGET:
|
||||
osxver = OSXTARGET
|
||||
else:
|
||||
maj, min = platform.mac_ver()[0].split('.')[:2]
|
||||
osxver = int(maj), int(min)
|
||||
|
||||
if osxver[1] < 15:
|
||||
OSX_ARCHS.append("i386")
|
||||
|
||||
if osxver[1] < 6:
|
||||
OSX_ARCHS.append("ppc")
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user