summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-04-18 15:40:35 +0200
committer couriersud <couriersud@gmx.org>2020-04-18 15:40:35 +0200
commit7c96a897dcf4b64ae7673a3eeaaa2083b2dd8d67 (patch)
treefdb00e2117ca3ee29b37eb3a90a30f9947d35265 /scripts
parente2c500de7595517e7882c6b013d4172a15b9b816 (diff)
main.lua: fix linking order of netlist. (nw)
Moved netlist between dasm and utils,expat,... link statements This fixes the resolution of symbols in netlist code which may be used in machine/netlist.cpp. Change tested on ubuntu, windows and macosx.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/main.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index 65eeadd4300..94f6200dc9f 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -234,11 +234,6 @@ if (STANDALONE~=true) then
"frontend",
}
end
-if (MACHINES["NETLIST"]~=null) then
- links {
- "netlist",
- }
-end
links {
"optional",
"emu",
@@ -253,6 +248,11 @@ if #disasm_files > 0 then
"dasm",
}
end
+if (MACHINES["NETLIST"]~=null) then
+ links {
+ "netlist",
+ }
+end
links {
"utils",
ext_lib("expat"),