From 3a811376d974de519c4ef74dff3e5b8719468f4a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 26 Feb 2016 14:50:09 +0100 Subject: Made pnacl to compile (nw) --- scripts/src/main.lua | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'scripts/src/main.lua') 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", -- cgit v1.2.3-70-g09d2