From cba2c0ff635ef9354531b2a04fd466917bdf84e3 Mon Sep 17 00:00:00 2001 From: Hoildkv <42310255+xq114@users.noreply.github.com> Date: Thu, 11 Jan 2024 22:06:58 +0800 Subject: [PATCH] revert zlib (#3083) --- packages/z/zlib/xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/z/zlib/xmake.lua b/packages/z/zlib/xmake.lua index a2b076c9826..ecc918aa3f6 100644 --- a/packages/z/zlib/xmake.lua +++ b/packages/z/zlib/xmake.lua @@ -22,6 +22,7 @@ package("zlib") end on_fetch(function (package, opt) + if xmake:version():lt("2.8.7") then return end -- disable system find if the bug is present if opt.system then if not package:is_plat("windows", "mingw") then return package:find_package("system::z", {includes = "zlib.h"})