Explorar o código

add:使用xmake内置7z

Dozingfiretruck %!s(int64=4) %!d(string=hai) anos
pai
achega
1b6925db04
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. BIN=BIN
      7za.exe
  2. 1 1
      xmake.lua

BIN=BIN
7za.exe


+ 1 - 1
xmake.lua

@@ -369,7 +369,7 @@ target("air10x")
             os.cp("$(buildir)/out/"..TARGET_NAME..".fls", "./soc_tools/"..TARGET_NAME..".fls")
             local path7z = nil
             if is_plat("windows") then
-                path7z = "7za.exe"
+                path7z = "$(programdir)/winenv/bin/7z.exe"
             elseif is_plat("linux") then
                 path7z = find_file("7z", { "/usr/bin/"})
                 if not path7z then