Skip to content

Commit

Permalink
Fix missing include directory in extension
Browse files Browse the repository at this point in the history
With PHP 8.4 the 'include' directory in extensions isn't included
automatically. It was part of the PHP_DEFINE macro. This fixes the build
for the possible future versions.
  • Loading branch information
petk committed Feb 27, 2024
1 parent d592186 commit 45d8f21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ if test "$PHP_WASM" != "no"; then

PHP_NEW_EXTENSION(wasm, $WASMER_ALL_SOURCES, $ext_shared,, $WASMER_CFLAGS)

PHP_ADD_INCLUDE([PHP_EXT_SRCDIR()/include])

PHP_ADD_MAKEFILE_FRAGMENT
fi

0 comments on commit 45d8f21

Please sign in to comment.