mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +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",
|
||||
"pthread",
|
||||
}
|
||||
linkoptions {
|
||||
"-sectcreate __TEXT __info_plist " .. GEN_DIR .. "/osd/sdl/" .. _OPTIONS["target"] .. "-Info.plist"
|
||||
}
|
||||
|
||||
|
||||
configuration { "mingw*" }
|
||||
|
|
|
@ -14,6 +14,11 @@ function mainProject(_target, _subtarget)
|
|||
"NoManifest",
|
||||
}
|
||||
|
||||
configuration { "osx*" }
|
||||
linkoptions {
|
||||
"-sectcreate __TEXT __info_plist " .. GEN_DIR .. "/osd/sdl/" .. _OPTIONS["target"] .. "-Info.plist"
|
||||
}
|
||||
|
||||
configuration { "mingw*" }
|
||||
if _OPTIONS["osd"]=="sdl" then
|
||||
targetprefix "sdl"
|
||||
|
|
|
@ -193,6 +193,11 @@ project ("ocore_" .. _OPTIONS["osd"])
|
|||
--else
|
||||
MAME_DIR .. "src/osd/modules/sync/work_osd.*",
|
||||
}
|
||||
if _OPTIONS["targetos"]=="macosx" then
|
||||
files {
|
||||
MAME_DIR .. "src/osd/sdl/osxutils.m",
|
||||
}
|
||||
end
|
||||
end
|
||||
if _OPTIONS["osd"]=="windows" then
|
||||
includedirs {
|
||||
|
|
Loading…
Reference in a new issue