Merge pull request #537 from springmeyer/patch-1
fix node to build with target_arch=x64 on linux
This commit is contained in:
commit
c4d9dc91a6
1 changed files with 5 additions and 3 deletions
|
@ -23,11 +23,13 @@ def update_external_binaries():
|
|||
def update_gyp():
|
||||
gyp = os.path.join('vendor', 'brightray', 'vendor', 'gyp', 'gyp_main.py')
|
||||
python = sys.executable
|
||||
if sys.platform == 'cygwin':
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
arch = 'ia32'
|
||||
if sys.platform == 'darwin':
|
||||
if sys.platform.startswith('linux') and sys.maxsize > 2**32:
|
||||
arch = 'x64'
|
||||
elif sys.platform == 'darwin':
|
||||
arch = 'x64'
|
||||
elif sys.platform in ['cygwin', 'win32']:
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
subprocess.call([python, gyp,
|
||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue