From 08fd3f4ec65aa22328722f43facfa05a95ca28fb Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 30 Mar 2015 03:55:46 +1100 Subject: [PATCH] Fix TOOLS=1 with OSD=windows --- scripts/src/osd/windows.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua index 70aa239e766..26b9b34826f 100644 --- a/scripts/src/osd/windows.lua +++ b/scripts/src/osd/windows.lua @@ -1,4 +1,8 @@ function maintargetosdoptions(_target) + linkoptions { + "-municode", + } + local rcfile = MAME_DIR .. "src/" .. _target .. "/osd/windows/" .. _target ..".rc" if os.isfile(rcfile) then @@ -13,11 +17,6 @@ function maintargetosdoptions(_target) end -linkoptions { - "-municode", -} - - project ("osd_" .. _OPTIONS["osd"]) uuid (os.uuid("osd_" .. _OPTIONS["osd"])) kind "StaticLib"