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"