Explorar o código

improve tbox to support cosmocc (#6565)

ruki hai 6 meses
pai
achega
5bda8e18fd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      packages/t/tbox/xmake.lua

+ 3 - 0
packages/t/tbox/xmake.lua

@@ -77,6 +77,9 @@ package("tbox")
             end
         end
         import("package.tools.xmake").install(package, configs)
+        if package:has_tool("cc", "cosmocc") then
+            os.trycp(path.join(package:buildir(), "**", ".aarch64"), package:installdir("lib"))
+        end
     end)
 
     on_test(function (package)