php8: link PCRE2 JIT usage to actual library configuration
authorMichael Heimpold <redacted>
Mon, 21 Jul 2025 21:37:56 +0000 (23:37 +0200)
committerMichael Heimpold <redacted>
Sat, 9 Aug 2025 20:29:01 +0000 (22:29 +0200)
commit331c6bc7caac75a59eca6078e57d5ff51541e027
treef16180fadedb62ab97a3edba52f1d8d7e7141769
parent0a0f2e884c120dfe146697280127cefcd23cd680
php8: link PCRE2 JIT usage to actual library configuration

libpcre2's JIT support is controlled with a compile-time flag.
When PHP is compiled against it (external libpcre2 - not PHP's bundled
version) as in our use-case, then it tries to auto-detect whether
JIT support is enalbed or not - but this is done based on a guess
when cross-compiling.

So instead of guessing, we need to tell the actual OpenWrt configuration
of libpcre2 to PHP.

Signed-off-by: Michael Heimpold <redacted>
lang/php8/Makefile
git clone https://git.99rst.org/PROJECT