diff options
Diffstat (limited to 'scripts/src/osd')
-rw-r--r-- | scripts/src/osd/sdl.lua | 8 | ||||
-rw-r--r-- | scripts/src/osd/windows.lua | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 202e0f8571d..8b713bf635a 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -429,7 +429,9 @@ if _OPTIONS["with-tools"] then MAME_DIR .. "src/lib/util", } - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end links { "utils", @@ -480,7 +482,9 @@ if _OPTIONS["targetos"] == "macosx" and _OPTIONS["with-tools"] then dofile("sdl_cfg.lua") - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end linkoptions { "-sectcreate __TEXT __info_plist " .. MAME_DIR .. "src/osd/sdl/aueffectutil-Info.plist", diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua index c2277109db1..8c6c5dd1cb7 100644 --- a/scripts/src/osd/windows.lua +++ b/scripts/src/osd/windows.lua @@ -217,7 +217,9 @@ if _OPTIONS["with-tools"] then "ForceCPP", } - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end links { "ocore_" .. _OPTIONS["osd"], |