Skip to content

Commit

Permalink
libhybris: rename ndk_version to android_version
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Oct 12, 2024
1 parent 34d43f8 commit 4531b9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/l/libhybris/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ package("libhybris")
if package:is_debug() then
table.insert(configs, "--enable-debug")
end
local ndk_version = package:dep("android"):version()
local ndk_version_major = ndk_version:major() or 0
local ndk_version_minor = ndk_version:minor() or 0
local ndk_version_patch = ndk_version:patch() or 0
local android_version = package:dep("android"):version()
local android_version_major = android_version:major() or 0
local android_version_minor = android_version:minor() or 0
local android_version_patch = android_version:patch() or 0
os.run(
"sh utils/extract-headers.sh --version %s %s %s",
ndk_version_major .. '.' .. ndk_version_minor .. '.' .. ndk_version_patch,
android_version_major .. '.' .. android_version_minor .. '.' .. android_version_patch,
package:dep("android"):installdir(),
package:installdir("include")
)
Expand Down

0 comments on commit 4531b9b

Please sign in to comment.