diff options
author | 2016-02-25 20:43:40 +0100 | |
---|---|---|
committer | 2016-02-25 20:44:35 +0100 | |
commit | add7a65f3f20c28b4c9fc24be5751b2cdd4093b5 (patch) | |
tree | d71777c6e5298a7eb8f911c713896a20646cd26c /scripts/src/main.lua | |
parent | 08d84121d4c666e6db0e7f7791f80674626babc3 (diff) |
Make Android targets compile but not link, using clang compiler in NDK, since GCC will be removed in next one (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index b8125bf1989..ad71d0a5cb7 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -25,6 +25,17 @@ else end uuid (os.uuid(_target .."_" .. _subtarget)) kind "ConsoleApp" + + configuration { "android*" } + targetextension ".so" + linkoptions { + "-shared", + } + links { + "EGL", + "GLESv2", + } + configuration { } addprojectflags() flags { |