wscript: activate darwin automatically
authorPaul Brossier <piem@piem.org>
Wed, 3 Oct 2012 20:29:03 +0000 (14:29 -0600)
committerPaul Brossier <piem@piem.org>
Wed, 3 Oct 2012 20:29:03 +0000 (14:29 -0600)
wscript

diff --git a/wscript b/wscript
index 0c0979564997c3c743c017c152ebb698d9b211b5..1ff6ebd207d407fba967d626f9829483dd83ef32 100644 (file)
--- a/wscript
+++ b/wscript
@@ -68,7 +68,7 @@ def configure(ctx):
   if Options.platform == 'win32':
     ctx.env['shlib_PATTERN'] = 'lib%s.dll'
 
-  if Options.platform == 'macfat':
+  if Options.platform == 'darwin':
     ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     ctx.env.CC = 'llvm-gcc-4.2'