php: switch to pcre2
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 16 Jan 2019 21:00:16 +0000 (22:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 19 Jan 2019 21:33:57 +0000 (22:33 +0100)
commit75bfe6158297bc623081ab6cc7cdb93f9efd25b0
tree0eb78e5fcc0b5436deb921bca26b3ada833db408
parent392a50b2e34bd31138b6603684166742fa5c37f7
php: switch to pcre2

php moved from pcre to pcre2 since bump to version 7.3 and
http://github.com/php/php-src/commit/a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d

This fixes a build failure: without this change, if BR2_PACKAGE_PCRE is
set, external pcre support in php is (wrongly) enabled with
--with-pcre-regex but because pcre2 was not found, php fallbacks on
built-in pcre2 without the "SLJIT_SINGLE_THREADED hack"

Fixes:
 - http://autobuild.buildroot.org/results/40ef339019203d2cc49d388e222cf17c3ca37944

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/php.mk