0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 08:18:54 +00:00
termux-packages/packages/php/ext-opcache-config.m4.patch
psiphon-pro19 080c565457 bump(main/php): 8.4.1 (#22496)
add `postgresql` as a build dependency
2024-12-13 12:00:56 +01:00

13 lines
398 B
Diff

--- ./ext/opcache/config.m4.orig 2024-11-27 23:24:00.473417043 +0700
+++ ./ext/opcache/config.m4 2024-11-27 23:34:36.000000000 +0700
@@ -342,7 +342,8 @@
[$ext_shared],,
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 $JIT_CFLAGS],,
[yes])
-
+ OPCACHE_SHARED_LIBADD=-lpcre2-8
+ PHP_SUBST(OPCACHE_SHARED_LIBADD)
PHP_ADD_EXTENSION_DEP(opcache, date)
PHP_ADD_EXTENSION_DEP(opcache, pcre)