diff --git a/node.gyp b/node.gyp index 642592fa246e51..5a9f8d1b56487f 100644 --- a/node.gyp +++ b/node.gyp @@ -438,7 +438,7 @@ 'inputs': [ '<(opensslconfig)', ], 'outputs': [ '<(opensslconfig_internal)', ], 'action': [ - 'python', 'tools/copyfile.py', + '<(python)', 'tools/copyfile.py', '<(opensslconfig)', '<(opensslconfig_internal)', ], diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index c2439a5f010203..a078ca11953be8 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1782,7 +1782,7 @@ }], ], 'action': [ - 'python', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py', + '<(python)', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py', '<@(v8_dump_build_config_args)', ], }, @@ -1876,7 +1876,7 @@ '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', ], 'action': [ - 'python', + '<(python)', '<(V8_ROOT)/tools/gen-postmortem-metadata.py', '<@(_outputs)', '<@(heapobject_files)'