diff options
author | 2016-08-12 15:03:45 +0200 | |
---|---|---|
committer | 2016-08-12 15:03:45 +0200 | |
commit | b966180061af0c4702bac7eab75b2c357e4d0085 (patch) | |
tree | c910e99391cf5229e4a034c8b25afcda65cca9b8 /scripts/src/main.lua | |
parent | b64b470c3266835d3a0e6a7c7cc20f8b88f48d8b (diff) |
Compile netlist and lua only if used (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 42615bedebb..4ee2229b8ef 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -197,8 +197,12 @@ if (STANDALONE~=true) then "frontend", } end +if (MACHINES["NETLIST"]~=null) then links { "netlist", + } +end + links { "optional", "emu", "formats", @@ -214,10 +218,13 @@ end "softfloat", ext_lib("jpeg"), "7z", + } +if (STANDALONE~=true) then + links { ext_lib("lua"), "lualibs", } - +end if _OPTIONS["USE_LIBUV"]=="1" then links { ext_lib("uv"), |