summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-29 16:20:51 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-29 16:20:51 +0100
commit23c28c48af7c12da70a6901ca260e0c5d64cd1fb (patch)
tree0357ca2f85270c5d38952868d52b06ca7f29f7b6 /scripts/genie.lua
parenta202401de29d7b91a7b0a1e110a75371fd5445a4 (diff)
Build SDL2 for Android (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index a6e1c59f752..c9b100e7374 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -509,6 +509,10 @@ if string.sub(_ACTION,1,4) == "vs20" and _OPTIONS["osd"]=="sdl" then
_OPTIONS["with-bundled-sdl2"] = "1"
end
end
+-- Build SDL2 for Android
+if _OPTIONS["targetos"] == "android" then
+ _OPTIONS["with-bundled-sdl2"] = "1"
+end
configuration {}