Update async_simple to 1.2 (#2810)

pull/2853/head
fantasy-peak 1 year ago committed by GitHub
parent 4a628dff62
commit 32a3a22a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/a/async_simple/xmake.lua

@ -7,6 +7,7 @@ package("async_simple")
add_urls("https://github.com/alibaba/async_simple/archive/refs/tags/$(version).tar.gz",
"https://github.com/alibaba/async_simple.git")
add_versions("1.1", "32d1ea16dfc1741206b6e4a3fbe532eeb1c378619766c1abe11a9efc53109c10")
add_versions("1.2", "a59a2674ac2b0a3997b90873b2bf0fbe4d96fdedbe6a2628c16c92a65a3fa39a")
add_configs("aio", {description = "default not open aio", default = false, type = "boolean"})
add_configs("modules", {description = "default not use modules", default = false, type = "boolean"})
@ -23,7 +24,7 @@ package("async_simple")
if package:config("shared") then
os.rm(package:installdir("lib/libasync_simple.a"))
else
os.rm(package:installdir("lib/libasync_simple.so"))
os.rm(package:installdir("lib/*.so*"))
end
end)

Loading…
Cancel
Save