소스 검색

bzip2: Don't build tools on wasm (#2157)

Jérôme Leclercq 2 년 전
부모
커밋
30363f1c27
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/b/bzip2/xmake.lua

+ 1 - 1
packages/b/bzip2/xmake.lua

@@ -15,7 +15,7 @@ package("bzip2")
 
     on_install(function (package)
         local configs = {}
-        configs.enable_tools = true
+        configs.enable_tools = not package:is_plat("wasm")
         if not package:is_plat("iphoneos", "android") then
             package:addenv("PATH", "bin")
         end