diff options
author | 2016-02-26 14:50:09 +0100 | |
---|---|---|
committer | 2016-02-26 14:50:09 +0100 | |
commit | 3a811376d974de519c4ef74dff3e5b8719468f4a (patch) | |
tree | 400d7f2d10829e50c548854c3c93ec637d33768f /scripts/src/main.lua | |
parent | 2582ce7f16cc84c686a4357fca7d53edd0ecc348 (diff) |
Made pnacl to compile (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 18 |
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", |