Browse Source

update liburing to 2.5 (#3410)

* update liburing to 2.5

* upd
c8ef 1 year ago
parent
commit
0c965731a6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/l/liburing/xmake.lua

+ 2 - 1
packages/l/liburing/xmake.lua

@@ -5,6 +5,7 @@ package("liburing")
 
     add_urls("https://github.com/axboe/liburing/archive/refs/tags/liburing-$(version).tar.gz",
              "https://github.com/axboe/liburing.git")
+    add_versions("2.5", "456f5f882165630f0dc7b75e8fd53bd01a955d5d4720729b4323097e6e9f2a98")
     add_versions("2.4", "2398ec82d967a6f903f3ae1fd4541c754472d3a85a584dc78c5da2fabc90706b")
     add_versions("2.3", "60b367dbdc6f2b0418a6e0cd203ee0049d9d629a36706fcf91dfb9428bae23c8")
     add_versions("2.2", "e092624af6aa244ade2d52181cc07751ac5caba2f3d63e9240790db9ed130bbc")
@@ -18,7 +19,7 @@ package("liburing")
         if package:config("pic") ~= false then
             cflags = "-fPIC"
         end
-        import("package.tools.autoconf").install(package, {}, {makeconfigs = {CFLAGS = cflags}})
+        import("package.tools.autoconf").install(package, {"--use-libc"}, {makeconfigs = {CFLAGS = cflags}})
     end)
 
     on_test(function (package)