Browse Source

coost: add v3.0.1 (#2578)

* coost: add v3.0.1

* Update xmake.lua

---------

Co-authored-by: ruki <[email protected]>
Alvin 2 years ago
parent
commit
6e005690ee
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/c/coost/xmake.lua

+ 2 - 1
packages/c/coost/xmake.lua

@@ -5,6 +5,7 @@ package("coost")
     add_urls("https://github.com/idealvin/coost/archive/refs/tags/$(version).tar.gz",
              "https://github.com/idealvin/coost.git")
 
+    add_versions("v3.0.1", "f2285d59dc8317dd2494d7628a56f10de9b814d90b86aedf93a3305f94c6ae1a")
     add_versions("v3.0.0", "f962201201cd77aaf45f33d72bd012231a31d4310d30e9bb580ffb1e94c8148d")
 
     for _, name in ipairs({"libcurl", "openssl", "libbacktrace"}) do
@@ -27,7 +28,7 @@ package("coost")
         end
     end)
 
-    on_install("macosx", "linux", "windows", function (package)
+    on_install("macosx", "linux", "windows|x64", "windows|x86", function (package)
         local configs = {}
         if package:config("shared") then
             configs.kind = "shared"