mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Work around linker issues with Emscripten (nw)
This commit is contained in:
parent
5adfc5b2a5
commit
41a489a947
2 changed files with 13 additions and 6 deletions
|
@ -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()
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue