mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
- Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
This commit is contained in:
parent
37d3ea836e
commit
a139dbf9cc
18 changed files with 20 additions and 20 deletions
|
@ -91,7 +91,7 @@ if test "$PHP_SQLITE" != "no"; then
|
|||
sed -e s/--VERS--/$SQLITE_VERSION/ -e s/--ENCODING--/$SQLITE_ENCODING/ $ext_srcdir/libsqlite/src/sqlite.h.in >$ext_srcdir/libsqlite/src/sqlite.h
|
||||
|
||||
if test "$ext_shared" = "no"; then
|
||||
echo '#include "php_config.h"' > $ext_srcdir/libsqlite/src/config.h
|
||||
echo '#include <php_config.h>' > $ext_srcdir/libsqlite/src/config.h
|
||||
else
|
||||
echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/libsqlite/src/config.h
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue