Enable math functions in sqlite3 (#445)

pull/448/head
yamashi 4 years ago committed by GitHub
parent f663db8c6a
commit 93c54315f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/s/sqlite3/xmake.lua

@ -32,7 +32,7 @@ package("sqlite3")
set_kind("$(kind)") set_kind("$(kind)")
add_files("sqlite3.c") add_files("sqlite3.c")
add_headerfiles("sqlite3.h", "sqlite3ext.h") add_headerfiles("sqlite3.h", "sqlite3ext.h")
add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB") add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB", "SQLITE_ENABLE_MATH_FUNCTIONS")
if is_kind("shared") and is_plat("windows") then if is_kind("shared") and is_plat("windows") then
add_defines("SQLITE_API=__declspec(dllexport)") add_defines("SQLITE_API=__declspec(dllexport)")
end end

Loading…
Cancel
Save