diff options
author | 2015-10-09 13:45:14 +0200 | |
---|---|---|
committer | 2015-10-09 13:45:14 +0200 | |
commit | 64599d2affa171e2fe02341ab7c9b932a42fed0b (patch) | |
tree | eacdb4107519a37340254880093564f253efccac /scripts/src | |
parent | 1dcb8313d666c83d643e67cea5273fbadabf1445 (diff) |
Do not create dasm.lib if no disassembler compiled (nw)
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/devices.lua | 3 | ||||
-rw-r--r-- | scripts/src/main.lua | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/src/devices.lua b/scripts/src/devices.lua index 6ec60b29826..4abafb0fc5a 100644 --- a/scripts/src/devices.lua +++ b/scripts/src/devices.lua @@ -85,6 +85,7 @@ else dofile(path.join("src", "bus.lua")) end +if #disasm_files > 0 then project ("dasm") uuid ("f2d28b0a-6da5-4f78-b629-d834aa00429d") kind (LIBTYPE) @@ -129,3 +130,5 @@ end } end end + +end diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 97c213b4620..66becff80bd 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -101,7 +101,13 @@ end "optional", "emu", "formats", + } +if #disasm_files > 0 then + links { "dasm", + } +end + links { "utils", "expat", "softfloat", |