File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ out/Makefile: config.gypi common.gypi node.gyp \
153
153
# and included in config.gypi
154
154
config.gypi : configure configure.py src/node_version.h
155
155
@if [ -x config.status ]; then \
156
- ./config.status; \
156
+ export PATH= " $( NO_BIN_OVERRIDE_PATH ) " && ./config.status; \
157
157
else \
158
158
echo Missing or stale $@ , please run ./$< ; \
159
159
exit 1; \
Original file line number Diff line number Diff line change @@ -2010,6 +2010,10 @@ def make_bin_override():
2010
2010
if options .compile_commands_json :
2011
2011
gyp_args += ['-f' , 'compile_commands_json' ]
2012
2012
2013
+ # override the variable `python` defined in common.gypi
2014
+ if bin_override is not None :
2015
+ gyp_args += ['-Dpython=' + sys .executable ]
2016
+
2013
2017
# pass the leftover positional arguments to GYP
2014
2018
gyp_args += args
2015
2019
Original file line number Diff line number Diff line change 790
790
'outputs' : ['<(SHARED_INTERMEDIATE_DIR)/openssl.def' ],
791
791
'process_outputs_as_sources' : 1 ,
792
792
'action' : [
793
- 'python' ,
793
+ '<( python) ' ,
794
794
'tools/mkssldef.py' ,
795
795
'<@(mkssldef_flags)' ,
796
796
'-o' ,
816
816
'<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc' ,
817
817
],
818
818
'action' : [
819
- 'python' ,
819
+ '<( python) ' ,
820
820
'tools/js2c.py' ,
821
821
'--directory' ,
822
822
'lib' ,
You can’t perform that action at this time.
0 commit comments