Auto-update aws-c-common to v0.9.28 (#5292)

* Update aws-c-common to v0.9.28

* patch android r27 cmake

* add dll export macro

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/5295/head
ruki 2 months ago committed by GitHub
parent eb24cf65f5
commit b1264da8a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      packages/a/aws-c-common/xmake.lua

@ -6,6 +6,7 @@ package("aws-c-common")
add_urls("https://github.com/awslabs/aws-c-common/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-common.git")
add_versions("v0.9.28", "bf265e9e409d563b0eddcb66e1cb00ff6b371170db3e119348478d911d054317")
add_versions("v0.9.27", "0c0eecbd7aa04f85b1bdddf6342789bc8052737c6e9aa2ca35e26caed41d06ba")
add_versions("v0.9.25", "443f3268387715e6e2c417a87114a6b42873aeeebc793d3f6f631323e7c48a80")
add_versions("v0.9.24", "715a15399fe6dce2971c222ecabea4276e42ba3465a63c175724fc0c80d7a888")
@ -32,7 +33,11 @@ package("aws-c-common")
add_deps("cmake")
on_install("!mingw or mingw|!i386", function (package)
local configs = {"-DBUILD_TESTING=OFF"}
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_COMMON_USE_IMPORT_EXPORT")
end
local configs = {"-DBUILD_TESTING=OFF", "-DCMAKE_POLICY_DEFAULT_CMP0057=NEW"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DENABLE_SANITIZERS=" .. (package:config("asan") and "ON" or "OFF"))

Loading…
Cancel
Save