Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ae2ab commit 342c5baCopy full SHA for 342c5ba
1 file changed
tools/build_native_modules.py
@@ -41,17 +41,13 @@
41
if opts.target:
42
target = opts.target
43
44
-exec_args = ['node',
45
- 'nw-gyp',
+exec_args = ['nw-gyp',
46
'configure',
47
'--target=%s'%(target),
48
'build']
49
50
win = sys.platform in ('win32', 'cygwin')
51
52
-if win:
53
- exec_args.insert(4, '--arch=ia32')
54
-
55
56
for dir in native_modules:
57
@@ -60,7 +56,7 @@
60
61
native_dir = os.path.join(native_root, dir)
62
58
os.chdir(native_dir)
63
- exec_args[1] = os.path.relpath(nw_gyp_script, os.getcwd())
59
+ #exec_args[1] = os.path.relpath(nw_gyp_script, os.getcwd())
64
subprocess.call(exec_args)
65
#os.execl(node_gyp_script, '', 'build')
66
0 commit comments