mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Specify -u to ppackage only when building with --universal on Mac OS X
This commit is contained in:
parent
4e819c8912
commit
a5e6aca66d
@ -1599,9 +1599,14 @@ def Package(target, inputs, opts):
|
||||
command = SDK["PYTHONEXEC"]
|
||||
if (GetOptimizeOption(opts) >= 4):
|
||||
command += " -OO"
|
||||
command += " direct/src/p3d/ppackage.py -u"
|
||||
if (GetTarget() == "darwin" and "MACOSX" in SDK and SDK["MACOSX"] != None and len(SDK["MACOSX"]) > 1):
|
||||
command += " direct/src/p3d/ppackage.py"
|
||||
|
||||
if GetTarget() == "darwin":
|
||||
if SDK.get("MACOSX") is not None:
|
||||
command += " -R \"%s\"" % SDK["MACOSX"]
|
||||
if UNIVERSAL:
|
||||
command += " -u"
|
||||
|
||||
command += " -i \"" + GetOutputDir() + "/stage\""
|
||||
if (P3DSUFFIX):
|
||||
command += ' -a "' + P3DSUFFIX + '"'
|
||||
|
Loading…
x
Reference in New Issue
Block a user