Build node as shared library

This commit is contained in:
Cheng Zhao 2015-04-01 20:26:46 +08:00
parent 761aa0e95c
commit 7e49645998
4 changed files with 40 additions and 8 deletions

View file

@ -38,7 +38,7 @@ def update_gyp():
ret = subprocess.call([python, gyp,
'-f', 'ninja', '--depth', '.', 'atom.gyp',
'-Icommon.gypi', '-Ivendor/brightray/brightray.gypi',
'-Icommon.gypi',
'-Dlinux_clang=0', # Disable brightray's clang setting
'-Dtarget_arch={0}'.format(arch),
'-Dlibrary=static_library'])