Improve Android linking

This commit is contained in:
Christoffer Lerno
2025-06-08 15:06:19 +02:00
parent 2ad17a04d4
commit becda6ea1d
3 changed files with 7 additions and 2 deletions

View File

@@ -463,6 +463,11 @@ static void linker_setup_linux(const char ***args_ref, Linker linker_type, bool
static void linker_setup_android(const char ***args_ref, Linker linker_type, bool is_dylib)
{
if (!compiler.build.android.ndk_path)
{
linker_setup_linux(args_ref, linker_type, is_dylib);
return;
}
#ifdef __linux__
#define ANDROID_HOST_TAG "linux-x86_64"
#elif __APPLE__