summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/aubio.mk3
-rw-r--r--src/jack.mk2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/aubio.mk b/src/aubio.mk
index 3c34ca2..d75c1f7 100644
--- a/src/aubio.mk
+++ b/src/aubio.mk
@@ -23,6 +23,7 @@ define $(PKG)_BUILD
AR='$(TARGET)-ar' \
CC='$(TARGET)-gcc' \
PKGCONFIG='$(TARGET)-pkg-config' \
+ $(PYTHON2) \
'$(BUILD_DIR)/$(waf_SUBDIR)/waf' \
configure \
-j '$(JOBS)' \
@@ -37,7 +38,7 @@ define $(PKG)_BUILD
# disable txt2man and doxygen
$(SED) -i '/\(TXT2MAN\|DOXYGEN\)/d' '$(1)/build/c4che/_cache.py'
- cd '$(1)' && '$(BUILD_DIR)/$(waf_SUBDIR)/waf' build install
+ cd '$(1)' && $(PYTHON2) '$(BUILD_DIR)/$(waf_SUBDIR)/waf' build install
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
diff --git a/src/jack.mk b/src/jack.mk
index b905b5a..a7b22e8 100644
--- a/src/jack.mk
+++ b/src/jack.mk
@@ -24,7 +24,7 @@ define $(PKG)_BUILD
CC='$(TARGET)-gcc' \
CXX='$(TARGET)-g++' \
PKGCONFIG='$(TARGET)-pkg-config' \
- ./waf configure build install \
+ $(PYTHON2) waf configure build install \
-j '$(JOBS)' \
--prefix='$(PREFIX)/$(TARGET)' \
--dist-target=mingw