build: fix build when python path contains spaces
authorFelix Becker <felix.b@outlook.com>
Sun, 24 Jan 2016 16:01:07 +0000 (17:01 +0100)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
PR-URL: https://github.com/nodejs/node/pull/4841
Reviewed-By: Benjamin Gruenbaum <inglor@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
configure
node.gyp

index a3730bc..de6fde6 100755 (executable)
--- 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': [],
index 49c3cc1..d549e18 100644 (file)
--- a/node.gyp
+++ b/node.gyp
             }]
           ],
           'action': [
-            '<(python)',
+            'python',
             'tools/js2c.py',
             '<@(_outputs)',
             '<@(_inputs)',