remove mysql deps version limit (#2936)

* remove zlib version limit

* Update xmake.lua

* disable windows arm

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/2939/head
xpxz 12 months ago committed by GitHub
parent 38819bbfc0
commit 0299481ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/m/mysql/xmake.lua

@ -31,8 +31,8 @@ package("mysql")
on_load("windows", "mingw", "linux", "macosx", function(package) on_load("windows", "mingw", "linux", "macosx", function(package)
if package:version():ge("8.0.0") then if package:version():ge("8.0.0") then
package:add("deps", "boost") package:add("deps", "boost")
package:add("deps", "openssl 1.1.1-t") package:add("deps", "openssl")
package:add("deps", "zlib v1.2.13") package:add("deps", "zlib")
package:add("deps", "zstd") package:add("deps", "zstd")
package:add("deps", "lz4") package:add("deps", "lz4")
else else
@ -49,7 +49,7 @@ package("mysql")
os.cp("lib/libmysql.dll", package:installdir("bin")) os.cp("lib/libmysql.dll", package:installdir("bin"))
end) end)
on_install("windows", "linux", "macosx", function (package) on_install("windows|x86", "windows|x64", "linux", "macosx", function (package)
if package:version():ge("8.0.0") then if package:version():ge("8.0.0") then
io.gsub("CMakeLists.txt", "ADD_SUBDIRECTORY%(storage/ndb%)", "") io.gsub("CMakeLists.txt", "ADD_SUBDIRECTORY%(storage/ndb%)", "")
local configs = {"-DCOMPILATION_COMMENT=XMake", local configs = {"-DCOMPILATION_COMMENT=XMake",

Loading…
Cancel
Save