File tree 1 file changed +9
-5
lines changed 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -695,13 +695,17 @@ config = '\n'.join(map('='.join, config.iteritems())) + '\n'
695
695
write ('config.mk' ,
696
696
'# Do not edit. Generated by the configure script.\n ' + config )
697
697
698
+ gyp_args = [sys .executable , 'tools/gyp_node.py' ]
699
+
698
700
if options .use_ninja :
699
- gyp_args = ['-f' , 'ninja-' + flavor ]
701
+ gyp_args + = ['-f' , 'ninja-' + flavor ]
700
702
elif options .use_xcode :
701
- gyp_args = ['-f' , 'xcode' ]
703
+ gyp_args + = ['-f' , 'xcode' ]
702
704
elif flavor == 'win' :
703
- gyp_args = ['-f' , 'msvs' , '-G' , 'msvs_version=auto' ]
705
+ gyp_args + = ['-f' , 'msvs' , '-G' , 'msvs_version=auto' ]
704
706
else :
705
- gyp_args = ['-f' , 'make-' + flavor ]
707
+ gyp_args += ['-f' , 'make-' + flavor ]
708
+
709
+ gyp_args += args
706
710
707
- subprocess .call ([ sys . executable , 'tools/gyp_node.py' ] + gyp_args )
711
+ subprocess .call (gyp_args )
You can’t perform that action at this time.
0 commit comments