mirror of
https://github.com/php/php-src.git
synced 2025-01-10 21:14:37 +08:00
Little fix for people building sqlite as a static extension
This commit is contained in:
parent
5f97e66ba5
commit
de7874e11f
@ -79,6 +79,12 @@ if test "$PHP_SQLITE" != "no"; then
|
||||
sed -e s/--VERS--/`cat $ext_srcdir/libsqlite/VERSION`/ -e s/--ENCODING--/$SQLITE_ENCODING/ $ext_srcdir/libsqlite/src/sqlite.h.in >$ext_srcdir/libsqlite/src/sqlite.h
|
||||
|
||||
PHP_ADD_MAKEFILE_FRAGMENT
|
||||
|
||||
dnl if not building a shared extension, we need to generate a config.h file for
|
||||
dnl the library
|
||||
if test "$ext_shared" = "no"; then
|
||||
echo '#include "php_config.h"' > $ext_srcdir/libsqlite/src/config.h
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNCS(usleep nanosleep)
|
||||
|
Loading…
Reference in New Issue
Block a user