mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Not setting android-ndk resulted in a "set ndk-path" error.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user