Skip to content

Commit

Permalink
sqlite 包编译参数变更
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Aug 12, 2024
1 parent 82dc722 commit 1a043d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ if has_config("sqlcipher") then
if is_plat("iphoneos") then
add_requires("sqlcipher", {system=false})
else
add_requires("sqlcipher", {system = false, configs = {shared = true, SQLITE_THREADSAFE="2"}})
add_requires("sqlcipher", {system = false, configs = {shared = true, safe_mode="2"}})
end
elseif has_config("sqlite") then
add_requires("sqlite3", {system = false, configs = {shared = true, SQLITE_THREADSAFE="2"}})
add_requires("sqlite3", {system = false, configs = {shared = true, safe_mode="2"}})
end

if has_config("mysql") then
Expand Down

0 comments on commit 1a043d0

Please sign in to comment.