Work around linker issues with Emscripten (nw)

This commit is contained in:
Justin Kerk 2016-04-29 04:40:21 +00:00
parent 5adfc5b2a5
commit 41a489a947
2 changed files with 13 additions and 6 deletions

View file

@ -19,9 +19,12 @@ function devicesProject(_target, _subtarget)
uuid (os.uuid("optional-" .. _target .."_" .. _subtarget))
kind (LIBTYPE)
targetsubdir(_target .."_" .. _subtarget)
options {
"ArchiveSplit",
}
if (_OPTIONS["targetos"] ~= "asmjs") then
options {
"ArchiveSplit",
}
end
addprojectflags()
precompiledheaders()

View file

@ -16,9 +16,13 @@ kind (LIBTYPE)
addprojectflags()
precompiledheaders()
options {
"ArchiveSplit",
}
if (_OPTIONS["targetos"] ~= "asmjs") then
options {
"ArchiveSplit",
}
end
includedirs {
MAME_DIR .. "src/osd",
MAME_DIR .. "src/emu",