Fix tools link on OSX, only embed plist in main target

This commit is contained in:
Vas Crabb 2015-03-26 23:44:12 +11:00
parent eb8bd38fa8
commit 2605b33035
3 changed files with 11 additions and 4 deletions

View file

@ -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*" }

View file

@ -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"

View file

@ -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 {