From c3e50cadac93999da0a513b4b92274ad9522244f 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=UTF-8 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 00f20f75d40..2287b36f460 100755 --- a/configure +++ b/configure @@ -1102,7 +1102,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 a65f76e4ce6..3fbf912c922 100644 --- a/node.gyp +++ b/node.gyp @@ -526,7 +526,7 @@ }] ], 'action': [ - '<(python)', + 'python', 'tools/js2c.py', '<@(_outputs)', '<@(_inputs)',