2
0
Эх сурвалжийг харах

Detect binarycreator on system path (#2362)

Yiheng Wu 2 жил өмнө
parent
commit
9ae52a09f6

+ 6 - 0
packages/q/qtifw/xmake.lua

@@ -8,6 +8,12 @@ package("qtifw")
 
     add_deps("aqt")
 
+    on_fetch(function (package, opt)
+        if opt.system then
+            return import("lib.detect.find_tool")("binarycreator", {check = "--help"})
+        end
+    end)
+
     on_install("@windows", "@msys", "@macosx", function (package)
 
         local host