From 0ea5464135038a72c1979c1b5c1b4b6f8742d2fc Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Tue, 29 Jul 2025 11:33:29 +0200 Subject: [PATCH] Fix out of tree build --- ext/opcache/config.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 5816a25fcd195..75a5a219cb53e 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -356,6 +356,9 @@ AS_VAR_IF([PHP_OPCACHE_JIT], [yes], [ $ext_builddir/jit $ext_builddir/jit/ir ]) + AS_VAR_IF([PHP_THREAD_SAFETY], [yes], [ + PHP_ADD_BUILD_DIR([$ext_builddir/jit/tls]) + ]) PHP_ADD_MAKEFILE_FRAGMENT([$ext_srcdir/jit/Makefile.frag]) ]) PHP_SUBST([OPCACHE_SHARED_LIBADD])