Browse Source

Merge branch 'master' of gitee.com:openLuat/luatos-soc-air101

Wendal Chen 4 years ago
parent
commit
e2af012388
2 changed files with 1 additions and 1 deletions
  1. BIN
      7za.exe
  2. 1 1
      xmake.lua

BIN
7za.exe


+ 1 - 1
xmake.lua

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