summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2016-03-17 01:42:48 +0000
committer Justin Kerk <dopefishjustin@gmail.com>2016-03-17 01:42:48 +0000
commitd0ce8784a7005e3c4912847f4ffbe2c41404a28f (patch)
tree4548e4393298ede733080afc8d2723f58f988888 /scripts/src/main.lua
parent157de7d935dad7ea732088f0f48d92c925b3bc37 (diff)
Build more of font_sdl.cpp with Emscripten since there is an SDL2_ttf port now (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index c9c99a354c3..18a5b28210f 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -109,6 +109,7 @@ end
local emccopts = ""
emccopts = emccopts .. " -O3"
emccopts = emccopts .. " -s USE_SDL=2"
+ emccopts = emccopts .. " -s USE_SDL_TTF=2"
emccopts = emccopts .. " --memory-init-file 0"
emccopts = emccopts .. " -s ALLOW_MEMORY_GROWTH=0"
emccopts = emccopts .. " -s TOTAL_MEMORY=268435456"