summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/scripts/BuildApplication.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/scripts/BuildApplication.py b/Mac/scripts/BuildApplication.py
index 6f55eb1..bf44ebd 100644
--- a/Mac/scripts/BuildApplication.py
+++ b/Mac/scripts/BuildApplication.py
@@ -34,6 +34,9 @@ GENFAT_BUTTON = 4
GENPPC_BUTTON = 5
GEN68K_BUTTON = 6
+# Define this if we cannot generate 68/fat binaries (Python 1.6)
+PPC_ONLY=1
+
try:
Res.GetResource('DITL', DLG_ID)
@@ -108,6 +111,8 @@ class radio:
def interact(scriptname):
+ if PPC_ONLY:
+ return 'pwpc'
d = Dlg.GetNewDialog(DLG_ID, -1)
if not d:
print "Can't get DLOG resource with id =", DLG_ID