瀏覽代碼

improve tbox to support cosmocc (#6565)

ruki 6 月之前
父節點
當前提交
5bda8e18fd
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/t/tbox/xmake.lua

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

@@ -77,6 +77,9 @@ package("tbox")
             end
             end
         end
         end
         import("package.tools.xmake").install(package, configs)
         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)
     end)
 
 
     on_test(function (package)
     on_test(function (package)