mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
Fix tools link on OSX, only embed plist in main target
This commit is contained in:
parent
eb8bd38fa8
commit
2605b33035
3 changed files with 11 additions and 4 deletions
|
@ -501,9 +501,6 @@ configuration { "osx*" }
|
||||||
"SDL2.framework",
|
"SDL2.framework",
|
||||||
"pthread",
|
"pthread",
|
||||||
}
|
}
|
||||||
linkoptions {
|
|
||||||
"-sectcreate __TEXT __info_plist " .. GEN_DIR .. "/osd/sdl/" .. _OPTIONS["target"] .. "-Info.plist"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
configuration { "mingw*" }
|
configuration { "mingw*" }
|
||||||
|
|
|
@ -14,6 +14,11 @@ function mainProject(_target, _subtarget)
|
||||||
"NoManifest",
|
"NoManifest",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "osx*" }
|
||||||
|
linkoptions {
|
||||||
|
"-sectcreate __TEXT __info_plist " .. GEN_DIR .. "/osd/sdl/" .. _OPTIONS["target"] .. "-Info.plist"
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "mingw*" }
|
configuration { "mingw*" }
|
||||||
if _OPTIONS["osd"]=="sdl" then
|
if _OPTIONS["osd"]=="sdl" then
|
||||||
targetprefix "sdl"
|
targetprefix "sdl"
|
||||||
|
@ -73,7 +78,7 @@ function mainProject(_target, _subtarget)
|
||||||
MAME_DIR .. "3rdparty/zlib",
|
MAME_DIR .. "3rdparty/zlib",
|
||||||
GEN_DIR .. "mame/layout",
|
GEN_DIR .. "mame/layout",
|
||||||
GEN_DIR .. "ldplayer/layout",
|
GEN_DIR .. "ldplayer/layout",
|
||||||
GEN_DIR .. "osd/windows",
|
GEN_DIR .. "osd/windows",
|
||||||
}
|
}
|
||||||
|
|
||||||
includeosd()
|
includeosd()
|
||||||
|
|
|
@ -193,6 +193,11 @@ project ("ocore_" .. _OPTIONS["osd"])
|
||||||
--else
|
--else
|
||||||
MAME_DIR .. "src/osd/modules/sync/work_osd.*",
|
MAME_DIR .. "src/osd/modules/sync/work_osd.*",
|
||||||
}
|
}
|
||||||
|
if _OPTIONS["targetos"]=="macosx" then
|
||||||
|
files {
|
||||||
|
MAME_DIR .. "src/osd/sdl/osxutils.m",
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
if _OPTIONS["osd"]=="windows" then
|
if _OPTIONS["osd"]=="windows" then
|
||||||
includedirs {
|
includedirs {
|
||||||
|
|
Loading…
Reference in a new issue