소스 검색

revert zlib (#3083)

Hoildkv 1 년 전
부모
커밋
cba2c0ff63
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/z/zlib/xmake.lua

+ 1 - 0
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"})