From: Alex Samorukov Date: Fri, 8 Jan 2021 18:09:09 +0000 (+0100) Subject: Fix opcache phpize build on FreeBSD X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=527bcb1e2e1e18e0eab9e97a920903e4cfe39452;p=php Fix opcache phpize build on FreeBSD Closes GH-6589. --- diff --git a/ext/opcache/jit/Makefile.frag b/ext/opcache/jit/Makefile.frag index d4f97de76d..b3af5b290a 100644 --- a/ext/opcache/jit/Makefile.frag +++ b/ext/opcache/jit/Makefile.frag @@ -16,3 +16,6 @@ $(builddir)/jit/zend_jit.lo: \ $(srcdir)/jit/zend_jit_trace.c \ $(srcdir)/jit/zend_elf.c +# For non-GNU make, jit/zend_jit.lo and ./jit/zend_jit.lo are considered distinct targets. +# Use this workaround to allow building from inside ext/opcache. +jit/zend_jit.lo: $(builddir)/jit/zend_jit.lo