diff options
| -rw-r--r-- | xmake/toolchains/ndk/check.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/toolchains/ndk/check.lua b/xmake/toolchains/ndk/check.lua index 907d652c6..117c44ac6 100644 --- a/xmake/toolchains/ndk/check.lua +++ b/xmake/toolchains/ndk/check.lua @@ -19,6 +19,7 @@ -- -- imports +import("core.base.option") import("core.project.config") import("detect.sdks.find_ndk") import("detect.sdks.find_android_sdk") @@ -29,7 +30,7 @@ function _check_ndk(toolchain) for _, package in ipairs(toolchain:packages()) do local installdir = package:installdir() if installdir and os.isdir(installdir) then - ndk = find_ndk(installdir, {force = true, verbose = true, sdkver = toolchain:config("sdkver")}) + ndk = find_ndk(installdir, {force = true, verbose = option.get("verbose"), sdkver = toolchain:config("sdkver")}) if ndk then break end |
