From fa9ba3f607012dbfca22b0d12e303c17df151c4d Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Tue, 29 Jul 2025 11:33:40 +0200 Subject: [PATCH] Not setting android-ndk resulted in a "set ndk-path" error. --- releasenotes.md | 1 + src/build/build_options.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/releasenotes.md b/releasenotes.md index c1aebbf28..c374272b9 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -85,6 +85,7 @@ - Crash when parsing recursive type declaration #2345. - Remove unnecessary "ret" in naked functions #2344. - Lambdas now properly follow its attributes #2346. +- Not setting android-ndk resulted in a "set ndk-path" error. ### Stdlib changes - Improve contract for readline. #2280 diff --git a/src/build/build_options.c b/src/build/build_options.c index e33075197..197ba4d95 100644 --- a/src/build/build_options.c +++ b/src/build/build_options.c @@ -1473,7 +1473,7 @@ BuildOptions parse_arguments(int argc, const char *argv[]) const char *ndk_path = getenv("ANDROID_NDK"); if (!ndk_path) { - FAIL_WITH_ERR("Can't find Android NDK, please set --ndk-path."); + FAIL_WITH_ERR("Can't find Android NDK, please set --android-ndk."); } build_options.android.ndk_path = strdup(ndk_path); }