Add extra libs and defines needed for android

This commit is contained in:
loonycyborg 2023-05-23 22:55:28 +03:00
parent d78068efa8
commit f12b25b9f3
No known key found for this signature in database
GPG key ID: 6E8233FAB8F26D61

View file

@ -32,3 +32,5 @@ def generate(env):
env["ANDROID_LLVM_TRIPLE"] = abi_spec["llvm_triple"]
env.Append(CCFLAGS = "-target $ANDROID_LLVM_TRIPLE$android_api")
env.Append(LINKFLAGS = "-target $ANDROID_LLVM_TRIPLE$android_api")
env.Append(LIBS = ["android", "log", "GLESv1_CM", "GLESv2"])
env.Append(CPPDEFINES = ["SDL_MAIN_HANDLED"])