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 1e00e00 commit 6124660
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,16 @@ elseif has_config("sqlite") then

if is_plat("linux") and linuxos.name() == "ubuntu" then
add_requires("apt::libsqlite3-dev")
if has_config("mysql") then
add_requires("apt::libmysqlclient-dev")
end
end
end

if has_config("mysql") then
if is_plat("windows") then
add_requires("mysql")
elseif is_plat("macosx") then
if is_plat("macosx") then
add_requires("brew::mysql-client")
elseif is_plat("linux") and linuxos.name() == "ubuntu" then
add_requires("apt::libmysqlclient-dev")
else
add_requires("mysql")
end
end

Expand Down

0 comments on commit 6124660

Please sign in to comment.