Browse Source

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

Jérôme Leclercq 2 years ago
parent
commit
30363f1c27
1 changed files with 1 additions and 1 deletions
  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)
     on_install(function (package)
         local configs = {}
         local configs = {}
-        configs.enable_tools = true
+        configs.enable_tools = not package:is_plat("wasm")
         if not package:is_plat("iphoneos", "android") then
         if not package:is_plat("iphoneos", "android") then
             package:addenv("PATH", "bin")
             package:addenv("PATH", "bin")
         end
         end