Sfoglia il codice sorgente

Auto-update libmaxminddb to 1.12.2 (#6267)

* Update libmaxminddb to 1.12.2

* Fix wasm

---------

Co-authored-by: star9029 <[email protected]>
ruki 7 mesi fa
parent
commit
da83ed0c85
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      packages/l/libmaxminddb/xmake.lua

+ 4 - 0
packages/l/libmaxminddb/xmake.lua

@@ -6,10 +6,14 @@ package("libmaxminddb")
     add_urls("https://github.com/maxmind/libmaxminddb/releases/download/$(version)/libmaxminddb-$(version).tar.gz",
     add_urls("https://github.com/maxmind/libmaxminddb/releases/download/$(version)/libmaxminddb-$(version).tar.gz",
              "https://github.com/maxmind/libmaxminddb.git")
              "https://github.com/maxmind/libmaxminddb.git")
 
 
+    add_versions("1.12.2", "1bfbf8efba3ed6462e04e225906ad5ce5fe958aa3d626a1235b2a2253d600743")
     add_versions("1.11.0", "b2eea79a96fed77ad4d6c39ec34fed83d45fcb75a31c58956813d58dcf30b19f")
     add_versions("1.11.0", "b2eea79a96fed77ad4d6c39ec34fed83d45fcb75a31c58956813d58dcf30b19f")
     add_versions("1.10.0", "5e6db72df423ae225bfe8897069f6def40faa8931f456b99d79b8b4d664c6671")
     add_versions("1.10.0", "5e6db72df423ae225bfe8897069f6def40faa8931f456b99d79b8b4d664c6671")
 
 
     add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
     add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
+    if is_plat("wasm") then
+        add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
+    end
 
 
     if is_plat("windows", "mingw") then
     if is_plat("windows", "mingw") then
         add_syslinks("ws2_32")
         add_syslinks("ws2_32")