mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #30963 from akien-mga/2.1-fix-android_stl-no
Android: Fix support for android_stl=no with NDK r20
This commit is contained in:
commit
59dea32b68
1 changed files with 3 additions and 0 deletions
|
|
@ -259,6 +259,9 @@ def configure(env):
|
|||
env.Append(LINKFLAGS=[env["ANDROID_NDK_ROOT"] +"/sources/cxx-stl/llvm-libc++/libs/"+arch_subpath+"/libandroid_support.a"])
|
||||
env.Append(LIBPATH=[env["ANDROID_NDK_ROOT"] + "/sources/cxx-stl/llvm-libc++/libs/"+arch_subpath+"/"])
|
||||
env.Append(LINKFLAGS=[env["ANDROID_NDK_ROOT"] +"/sources/cxx-stl/llvm-libc++/libs/"+arch_subpath+"/libc++_shared.so"])
|
||||
else:
|
||||
# This is the legacy and minimal 'System STL' with support for basic features like new and delete
|
||||
env.Append(LINKFLAGS=['-stdlib=libstdc++'])
|
||||
else:
|
||||
if mt_link:
|
||||
env.Append(LINKFLAGS=['-Wl,--threads'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue