summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/lib.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-08-12 15:03:45 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-08-12 15:03:45 +0200
commitb966180061af0c4702bac7eab75b2c357e4d0085 (patch)
treec910e99391cf5229e4a034c8b25afcda65cca9b8 /scripts/src/lib.lua
parentb64b470c3266835d3a0e6a7c7cc20f8b88f48d8b (diff)
Compile netlist and lua only if used (nw)
Diffstat (limited to 'scripts/src/lib.lua')
-rw-r--r--scripts/src/lib.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/src/lib.lua b/scripts/src/lib.lua
index 1549084c918..7a97f1facbe 100644
--- a/scripts/src/lib.lua
+++ b/scripts/src/lib.lua
@@ -427,6 +427,7 @@ project "formats"
MAME_DIR .. "src/lib/formats/itt3030_dsk.h",
}
+if (MACHINES["NETLIST"]~=null or _OPTIONS["with-tools"]) then
-- netlist now defines a project
dofile("netlist.lua")
-
+end