Skip to content

Commit ffc2a53

Browse files
committed
Fix GH-10728: opcache capstone header's inclusion.
Remove capstone include folder. For most of the supported systems it worked fine somehow despite the pkg-config --cflags, but is always include it even on Linux. Closes GH-10732.
1 parent 8f92a07 commit ffc2a53

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ PHP NEWS
66
. Added optional support for max_execution_time in ZTS/Linux builds
77
(Kévin Dunglas)
88

9+
- Opcache:
10+
. Fixed build for macOS to cater with pkg-config settings. (David Carlier)
11+
912
16 Mar 2023, PHP 8.1.17
1013

1114
- Core:

ext/opcache/jit/zend_jit_disasm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#ifdef HAVE_CAPSTONE
2323
# define HAVE_DISASM 1
24-
# include <capstone/capstone.h>
24+
# include <capstone.h>
2525
# define HAVE_CAPSTONE_ITER 1
2626
#elif ZEND_JIT_TARGET_X86
2727
# define HAVE_DISASM 1

0 commit comments

Comments
 (0)