fix elfutils (#5335)

pull/5339/head
ruki 2 months ago committed by GitHub
parent b67a1536a8
commit c30732f17f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/e/elfutils/xmake.lua

@ -38,7 +38,8 @@ package("elfutils")
on_check("android", function (package)
local ndk = package:toolchain("ndk")
local ndk_sdkver = ndk:config("ndk_sdkver")
assert(ndk and tonumber(ndk) < 26, "package(elfutils): need ndk version < 26 for android")
local ndkver = ndk:config("ndkver")
assert(ndkver and tonumber(ndkver) < 26, "package(elfutils): need ndk version < 26 for android")
assert(ndk_sdkver and tonumber(ndk_sdkver) <= 23, "package(elfutils): need ndk api level <= 23 for android")
end)
end

Loading…
Cancel
Save