summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua18
1 files changed, 15 insertions, 3 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index ad71d0a5cb7..2a4acab17a5 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -35,6 +35,14 @@ end
"EGL",
"GLESv2",
}
+ configuration { "pnacl" }
+ kind "ConsoleApp"
+ targetextension ".pexe"
+ links {
+ "ppapi",
+ "ppapi_gles2",
+ "pthread",
+ }
configuration { }
addprojectflags()
@@ -153,11 +161,15 @@ end
"7z",
"lua",
"lualibs",
- "luv",
- "uv",
- "http-parser",
}
+ if _OPTIONS["USE_LIBUV"]=="1" then
+ links {
+ "luv",
+ "uv",
+ "http-parser",
+ }
+ end
if _OPTIONS["with-bundled-zlib"] then
links {
"zlib",