diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-29 15:43:09 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-29 16:02:01 +0100 |
commit | cee3f51cef2ce22434faabc0b38e60c5a45b8d8d (patch) | |
tree | 9b74212479b944492f2b667e9855106314019921 /Makefile | |
parent | af32dd7b74521296e9f0c7eb5e8392181622cd5c (diff) | |
download | android-node-v8-cee3f51cef2ce22434faabc0b38e60c5a45b8d8d.tar.gz android-node-v8-cee3f51cef2ce22434faabc0b38e60c5a45b8d8d.tar.bz2 android-node-v8-cee3f51cef2ce22434faabc0b38e60c5a45b8d8d.zip |
build: remove python 2.7 dependency
Remove the dependency on the 'sysconfig' module, it breaks the build
when $(PYTHON) is python 2.6.
PR-URL: https://github.com/node-forward/node/pull/39
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ SIGN ?= PREFIX ?= /usr/local # Determine EXEEXT -EXEEXT=$(shell $(PYTHON) -c "import sysconfig; print(sysconfig.get_config_var('EXE'))") +EXEEXT := $(shell $(PYTHON) -c \ + "import sys; print('.exe' if sys.platform == 'win32' else '')") NODE ?= ./node$(EXEEXT) NODE_EXE = node$(EXEEXT) |