libdeflate: remove limit plat (#4936)

pull/4939/head
star9029 7 months ago committed by GitHub
parent 3351bd1150
commit dad98c92a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/l/libdeflate/xmake.lua

@ -34,7 +34,7 @@ package("libdeflate")
end
end)
on_install("windows", "macosx", "linux", "android", "mingw", "bsd", function (package)
on_install(function (package)
local configs = {"-DLIBDEFLATE_BUILD_GZIP=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DLIBDEFLATE_BUILD_STATIC_LIB=" .. (package:config("shared") and "OFF" or "ON"))

Loading…
Cancel
Save