From a2522efb2560d1882b54850133c86370f1fa08a3 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 27 Dec 2013 14:17:35 +0800 Subject: [PATCH] Build for x64 architecture on OS X, fixes #132. --- script/update.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/update.py b/script/update.py index 8940cf77..8c92f361 100755 --- a/script/update.py +++ b/script/update.py @@ -26,10 +26,14 @@ def update_gyp(): python = sys.executable if sys.platform == 'cygwin': python = os.path.join('vendor', 'python_26', 'python.exe') + arch = 'ia32' + if sys.platform == 'darwin': + arch = 'x64' subprocess.call([python, gyp, '-f', 'ninja', '--depth', '.', 'atom.gyp', '-Icommon.gypi', '-Ivendor/brightray/brightray.gypi', - '-Dtarget_arch=ia32', '-Dlibrary=static_library']) + '-Dtarget_arch={0}'.format(arch), + '-Dlibrary=static_library']) if __name__ == '__main__': -- 2.43.0