diff --git a/src/aubio.mk b/src/aubio.mk index 3c34ca20..d75c1f72 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 b905b5a0..a7b22e83 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