[SCons] Fix android build with modern NDKs.

pull/691/head
Fabio Alessandrelli 2022-06-08 23:02:21 +02:00
parent 9451c184b1
commit c7b81a15f6
1 changed files with 5 additions and 5 deletions

View File

@ -391,11 +391,11 @@ elif env["platform"] == "android":
# Setup tools # Setup tools
env["CC"] = toolchain + "/bin/clang" env["CC"] = toolchain + "/bin/clang"
env["CXX"] = toolchain + "/bin/clang++" env["CXX"] = toolchain + "/bin/clang++"
env["AR"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ar" env["AR"] = toolchain + "/bin/llvm-ar"
env["AS"] = toolchain + "/bin/" + arch_info["tool_path"] + "-as" env["AS"] = toolchain + "/bin/llvm-as"
env["LD"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ld" env["LD"] = toolchain + "/bin/llvm-ld"
env["STRIP"] = toolchain + "/bin/" + arch_info["tool_path"] + "-strip" env["STRIP"] = toolchain + "/bin/llvm-strip"
env["RANLIB"] = toolchain + "/bin/" + arch_info["tool_path"] + "-ranlib" env["RANLIB"] = toolchain + "/bin/llvm-ranlib"
env["SHLIBSUFFIX"] = ".so" env["SHLIBSUFFIX"] = ".so"
env.Append( env.Append(