浏览代码

libdeflate: remove limit plat (#4936)

star9029 1 年之前
父节点
当前提交
dad98c92a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/l/libdeflate/xmake.lua

+ 1 - 1
packages/l/libdeflate/xmake.lua

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