summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-26 02:39:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-26 16:42:06 +0200
commite08e72d7d1c9f1482217e07255f874187bb5dc63 (patch)
tree9be791c87596516ba06f19b02d1487b46c6c7cd7
parent01bc22aa03bfe3e623b37c76b21e63596b6c2298 (diff)
downloadbuildroot-novena-e08e72d7d1c9f1482217e07255f874187bb5dc63.tar.gz
buildroot-novena-e08e72d7d1c9f1482217e07255f874187bb5dc63.zip
php: fix libxml2 build failure
The libxml2 build test uses the PHP_TEST_BUILD macro which in turn uses AC_TRY_RUN which is bad for cross compilations. Force php_cv_libxml_build_works to yes when libxml2 is selected. Fixes: http://autobuild.buildroot.net/results/8b45a1260ab6ae15dc59a5d6b5b98698ec3e7bbe/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/php/php.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index ba428a664..2a452d140 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -66,6 +66,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_OPENSSL),y)
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y)
+ PHP_CONF_ENV += php_cv_libxml_build_works=yes
PHP_CONF_OPT += --enable-libxml --with-libxml-dir=${STAGING_DIR}/usr
PHP_DEPENDENCIES += libxml2
endif