From c0facfbfe6927cda16e42ac16e3cb8e330f4c473 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Sun, 24 Jan 2016 17:01:07 +0100 Subject: [PATCH] build: fix build when python path contains spaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/4841 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Roman Reiss Reviewed-By: Johan Bergström --- configure | 2 +- node.gyp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a3730bc..de6fde6 100755 --- a/configure +++ b/configure @@ -1085,7 +1085,7 @@ def configure_intl(o): return # end of configure_intl output = { - 'variables': { 'python': sys.executable }, + 'variables': {}, 'include_dirs': [], 'libraries': [], 'defines': [], diff --git a/node.gyp b/node.gyp index 49c3cc1..d549e18 100644 --- a/node.gyp +++ b/node.gyp @@ -519,7 +519,7 @@ }] ], 'action': [ - '<(python)', + 'python', 'tools/js2c.py', '<@(_outputs)', '<@(_inputs)', -- 2.7.4