]> git.saurik.com Git - wxWidgets.git/blobdiff - build/tools/build-wxwidgets.py
using button impl
[wxWidgets.git] / build / tools / build-wxwidgets.py
index 8218c87b0fb5c8e56c9c975da8ce4c5bd23496bd..3c5bf07e5c2d4617428c1071cce55ee322b12ab9 100755 (executable)
@@ -337,7 +337,13 @@ def main(scriptName, args):
                     shutil.rmtree(frameworkRootDir)
 
         if options.mac_universal_binary: 
-            configure_opts.append("--enable-universal_binary=%s" % options.mac_universal_binary)
+            if options.mac_universal_binary == 'default':
+                if options.osx_cocoa:
+                    configure_opts.append("--enable-universal_binary=i386,x86_64")                
+                else:
+                    configure_opts.append("--enable-universal_binary")                
+            else:
+                configure_opts.append("--enable-universal_binary=%s" % options.mac_universal_binary)
 
             
         print("Configure options: " + repr(configure_opts))