summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Axiak <mike@axiak.net>2012-11-26 13:40:24 -0500
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-27 05:44:11 +0100
commitffb4c173a426647dbbb7bc7d2787140556de5e5b (patch)
tree115fff9ed4b8d8fbe4f825ad4473cb1daf1334bb /Makefile
parentaa3441ae45b348aa2e1b422d1c5a69b49e909a95 (diff)
downloadnode-new-ffb4c173a426647dbbb7bc7d2787140556de5e5b.tar.gz
build: add $(PYTHON) when calling configure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 664fafde0c..237a2a45b1 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ else
endif
config.gypi: configure
- ./configure
+ $(PYTHON) ./configure
install: all
$(PYTHON) tools/install.py $@ $(DESTDIR)
@@ -256,10 +256,10 @@ pkg: $(PKG)
$(PKG): release-only
rm -rf $(PKGDIR)
rm -rf out/deps out/Release
- ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32
+ $(PYTHON) ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32
$(MAKE) install V=$(V)
rm -rf out/deps out/Release
- ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64
+ $(PYTHON) ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64
$(MAKE) install V=$(V)
SIGN="$(SIGN)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh
lipo $(PKGDIR)/32/usr/local/bin/node \
@@ -291,7 +291,7 @@ tar: $(TARBALL)
$(BINARYTAR): release-only
rm -rf $(BINARYNAME)
rm -rf out/deps out/Release
- ./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU)
+ $(PYTHON) ./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU)
$(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1
cp README.md $(BINARYNAME)
cp LICENSE $(BINARYNAME)