Build for x64 architecture on OS X, fixes #132.
This commit is contained in:
parent
7c3f22a333
commit
a2522efb25
1 changed files with 5 additions and 1 deletions
|
@ -26,10 +26,14 @@ def update_gyp():
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
if sys.platform == 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||||
|
arch = 'ia32'
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
arch = 'x64'
|
||||||
subprocess.call([python, gyp,
|
subprocess.call([python, gyp,
|
||||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||||
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
|
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
|
||||||
'-Dtarget_arch=ia32', '-Dlibrary=static_library'])
|
'-Dtarget_arch={0}'.format(arch),
|
||||||
|
'-Dlibrary=static_library'])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue