[Buildroot] [PATCH] php: use TARGET_MAKE_ENV for buildconf

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Apr 9 01:02:16 UTC 2015


Otherwise we miss the PATH for hosts that lack autotools. Fixes:
http://autobuild.buildroot.net/results/368/368da962f657801817a4b962415e55606915c871/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/php/php.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/php/php.mk b/package/php/php.mk
index eb4f797..f355632 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -25,7 +25,7 @@ PHP_CONF_ENV = EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
 # PHP can't be AUTORECONFed the standard way unfortunately
 PHP_DEPENDENCIES += host-autoconf host-automake host-libtool
 define PHP_BUILDCONF
-	cd $(@D) ; ./buildconf --force
+	cd $(@D) ; $(TARGET_MAKE_ENV) ./buildconf --force
 endef
 PHP_PRE_CONFIGURE_HOOKS += PHP_BUILDCONF
 
-- 
2.0.5



More information about the buildroot mailing list