mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-22 23:29:12 -06:00
makepanda: --universal should not enable i386 when targeting 10.15+
[skip ci]
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user