summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-04-08 22:32:30 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-09 11:54:55 +0200
commit520126bd903a86227493eaa86e82d8db5f3632de (patch)
tree8918796037fb5352a605f3baf3b87768848ceaa3 /package/php/php.mk
parent86071180d4c2072f93363313761339fa89ad917a (diff)
downloadbuildroot-520126bd903a86227493eaa86e82d8db5f3632de.tar.gz
buildroot-520126bd903a86227493eaa86e82d8db5f3632de.zip
php: allow cache for strcasestr test
Fileinfo does an AC_TRY_RUN to test for strcasestr without allowing a canned response, hence breaking cross-compiles. Use AC_CACHE_VAL. Fixes: http://autobuild.buildroot.net/results/10a/10ae44cbc7c0c8e6f1ac54dae4c9d94c703aa3dd/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r--package/php/php.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index f3556327ab..1a5e084f8f 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -20,7 +20,9 @@ PHP_CONF_OPTS = \
--without-pear \
--with-config-file-path=/etc \
--disable-rpath
-PHP_CONF_ENV = EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
+PHP_CONF_ENV = \
+ ac_cv_func_strcasestr=yes \
+ EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
# PHP can't be AUTORECONFed the standard way unfortunately
PHP_DEPENDENCIES += host-autoconf host-automake host-libtool
OpenPOWER on IntegriCloud