[php-src] PR #18716: Fix out of tree build
| From: | arnaud-lb | Date: | Sat, 31 May 2025 08:16:13 +0000 |
| Subject: | [php-src] PR #18716: Fix out of tree build | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31893@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18716
Author: arnaud-lb
This fixes the following error when building out of the source tree:
```
ext/uri/uriparser/src/UriCompare.c:41:10: fatal error: uriparser/UriDefsConfig.h: No such file or
directory
41 | #include <uriparser/UriDefsConfig.h>
```
I add
$ext_srcdir/$URIPARSER_DIR/include to the include path instead of
$ext_builddir/$URIPARSER_DIR/include, so that files are searched in the source tree.
The extension doesn't appear to generate include files in the build dir.