I don't know anymore (#4380)

pull/4382/head
Maxime 5 months ago committed by GitHub
parent e5bcf43d86
commit 73c1c99179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      packages/l/libuv/xmake.lua

@ -33,13 +33,15 @@ package("libuv")
end
-- https://github.com/libuv/libuv/issues/3411
on_check("android", function (package)
if package:version():ge("1.47.0") then
local ndk = package:toolchain("ndk")
local ndk_sdkver = ndk:config("ndk_sdkver")
assert(ndk_sdkver and tonumber(ndk_sdkver) >= 24, "package(libuv): need ndk api level >= 24 after v1.47.0")
end
end)
if on_check then
on_check("android", function (package)
if package:version():ge("1.47.0") then
local ndk = package:toolchain("ndk")
local ndk_sdkver = ndk:config("ndk_sdkver")
assert(ndk_sdkver and tonumber(ndk_sdkver) >= 24, "package(libuv): need ndk api level >= 24 after v1.47.0")
end
end)
end
on_load(function (package)
local version = package:version()

Loading…
Cancel
Save