Skip to content

Commit a9403ec

Browse files
committed
Sync CS
1 parent 288c883 commit a9403ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/ext/sqlite3/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,13 @@ if(TARGET SQLite::SQLite3)
8383

8484
check_symbol_exists(sqlite3_errstr sqlite3.h HAVE_SQLITE3_ERRSTR)
8585
check_symbol_exists(sqlite3_expanded_sql sqlite3.h HAVE_SQLITE3_EXPANDED_SQL)
86-
check_symbol_exists(sqlite3_load_extension sqlite3.h HAVE_SQLITE3_LOAD_EXTENSION)
8786

88-
if(NOT HAVE_SQLITE3_LOAD_EXTENSION)
87+
check_symbol_exists(
88+
sqlite3_load_extension
89+
sqlite3.h
90+
_PHP_HAVE_SQLITE3_LOAD_EXTENSION
91+
)
92+
if(NOT _PHP_HAVE_SQLITE3_LOAD_EXTENSION)
8993
set(SQLITE_OMIT_LOAD_EXTENSION TRUE)
9094
endif()
9195
cmake_pop_check_state()

0 commit comments

Comments
 (0)