aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2018-12-28 11:56:34 -0500
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-01-10 23:03:38 +0100
commit745f884e41b5f350296e8448f5fc31d20f67a077 (patch)
tree445cb12a232b5868b2464a6105582e3f816810c2
parent7b8f2ef4bb471fb17e7af84f2fb4912d539f2d56 (diff)
downloadbuildroot-745f884e41b5f350296e8448f5fc31d20f67a077.tar.gz
buildroot-745f884e41b5f350296e8448f5fc31d20f67a077.tar.bz2
package/php: fix building pcre extension
The configure option "--with-pcre-regex=$(STAGING_DIR)/usr" is broken. PHP will prepend $(STAGING_DIR)/usr to the paths, which will cause a failure because it won't be able to find pcre, and will then fallback to searching for pcre2, which won't be installed. Removing "=$(STAGING_DIR)/usr" from --with-pcre-regex fixes the issue. Fixes: http://autobuild.buildroot.net/results/586/586f56e8fcf2d2bbbd3bdf69b1c3befff7ce8bbf Signed-off-by: Adam Duskett <Aduskett@gmail.com> Tested-by: Mark Corbin <mark.corbin@embecosm.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/php/php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index fd428e192a..7d7d78353b 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -244,7 +244,7 @@ PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
### Use external PCRE if it's available
ifeq ($(BR2_PACKAGE_PCRE),y)
-PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
+PHP_CONF_OPTS += --with-pcre-regex
PHP_DEPENDENCIES += pcre
else
# The bundled pcre library is not configurable through ./configure options,