소스 검색

add:使用xmake自带7z

Dozingfiretruck 3 년 전
부모
커밋
83f1dcfe8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      xmake.lua

+ 1 - 1
xmake.lua

@@ -381,7 +381,7 @@ end
         import("lib.detect.find_file")
         local path7z = nil
         if is_plat("windows") then
-            path7z = "$(buildir)/../7za.exe"
+            path7z = "$(programdir)/winenv/bin/7z.exe"
         elseif is_plat("linux") then
             path7z = find_file("7z", { "/usr/bin/"})
             if not path7z then