From c7b81a15f6d77ff9050076eacfb173f5439a2357 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 8 Jun 2022 23:02:21 +0200 Subject: [PATCH] [SCons] Fix android build with modern NDKs. --- SConstruct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SConstruct b/SConstruct index d32bce05..8343fa0f 100644 --- a/SConstruct +++ b/SConstruct @@ -391,11 +391,11 @@ elif env["platform"] == "android": # Setup tools env["CC"] = toolchain + "/bin/clang" env["CXX"] = toolchain + "/bin/clang++" - env["AR"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ar" - env["AS"] = toolchain + "/bin/" + arch_info["tool_path"] + "-as" - env["LD"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ld" - env["STRIP"] = toolchain + "/bin/" + arch_info["tool_path"] + "-strip" - env["RANLIB"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ranlib" + env["AR"] = toolchain + "/bin/llvm-ar" + env["AS"] = toolchain + "/bin/llvm-as" + env["LD"] = toolchain + "/bin/llvm-ld" + env["STRIP"] = toolchain + "/bin/llvm-strip" + env["RANLIB"] = toolchain + "/bin/llvm-ranlib" env["SHLIBSUFFIX"] = ".so" env.Append(