]> granicus.if.org Git - php/commitdiff
Fix opcache phpize build on FreeBSD
authorAlex Samorukov <samm@os2.kiev.ua>
Fri, 8 Jan 2021 18:09:09 +0000 (19:09 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 25 Jan 2021 14:10:47 +0000 (15:10 +0100)
Closes GH-6589.

ext/opcache/jit/Makefile.frag

index d4f97de76df4fc039a4d2ba78d3a5d6a88d8f844..b3af5b290a7f335f85de99b5144989150514c70c 100644 (file)
@@ -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