mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
MFH: Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the behaviour is still correct
This commit is contained in:
parent
3de5c79f73
commit
e45cdba580
@ -4,7 +4,8 @@
|
||||
ARG_WITH("sqlite3", "SQLite 3 support", "no");
|
||||
|
||||
if (PHP_SQLITE3 != "no") {
|
||||
ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 ");
|
||||
WARNING(PHP_ZTS);
|
||||
ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS == "yes" ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 ");
|
||||
EXTENSION("sqlite3", "sqlite3.c", null, "/I" + configure_module_dirname + "/libsqlite /I" + configure_module_dirname);
|
||||
|
||||
ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3");
|
||||
|
Loading…
Reference in New Issue
Block a user