Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Aug 2, 2024
1 parent 60ad7a2 commit a77cc2c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,7 @@ if has_config("sqlcipher") then
add_requires("sqlcipher", {system = false, configs = {shared = true, SQLITE_THREADSAFE="2"}})
end
elseif has_config("sqlite") then
if is_plat("windows", "android", "cross") then
add_requires("sqlite3", {system = false, configs = {shared = true, SQLITE_THREADSAFE="2"}})
end

if is_plat("linux") and linuxos.name() == "ubuntu" then
add_requires("apt::libsqlite3-dev", {alias = "sqlite3"})
end
add_requires("sqlite3", {system = false, configs = {shared = true, SQLITE_THREADSAFE="2"}})
end

if has_config("mysql") then
Expand Down

0 comments on commit a77cc2c

Please sign in to comment.