mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Fix osdmini build on Windows (crashes if you run it though)
This commit is contained in:
parent
816518fd49
commit
602e2de3e0
@ -715,13 +715,9 @@ configuration { "osx*" }
|
||||
|
||||
|
||||
configuration { "mingw*" }
|
||||
defines {
|
||||
"main=utf8_main",
|
||||
}
|
||||
linkoptions {
|
||||
"-static-libgcc",
|
||||
"-static-libstdc++",
|
||||
"-municode",
|
||||
}
|
||||
if _OPTIONS["osd"]=="sdl" then
|
||||
links {
|
||||
@ -748,9 +744,6 @@ end
|
||||
}
|
||||
|
||||
configuration { "vs*" }
|
||||
defines {
|
||||
"main=utf8_main",
|
||||
}
|
||||
defines {
|
||||
"XML_STATIC",
|
||||
"WIN32",
|
||||
|
@ -28,6 +28,14 @@ function maintargetosdoptions(_target)
|
||||
configuration { }
|
||||
end
|
||||
|
||||
|
||||
if _OPTIONS["targetos"]=="windows" then
|
||||
linkoptions {
|
||||
"-municode",
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
configuration { "mingw*" }
|
||||
linkoptions {
|
||||
"-Wl,--allow-multiple-definition",
|
||||
|
@ -13,6 +13,7 @@ if _OPTIONS["targetos"]=="windows" then
|
||||
"USE_OPENGL=1",
|
||||
"USE_QTDEBUG=1",
|
||||
"SDLMAME_NET_PCAP",
|
||||
"main=utf8_main",
|
||||
}
|
||||
|
||||
buildoptions {
|
||||
|
@ -13,6 +13,11 @@ function maintargetosdoptions(_target)
|
||||
end
|
||||
|
||||
|
||||
linkoptions {
|
||||
"-municode",
|
||||
}
|
||||
|
||||
|
||||
project ("osd_" .. _OPTIONS["osd"])
|
||||
uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
|
||||
kind "StaticLib"
|
||||
|
@ -12,4 +12,5 @@ defines {
|
||||
"USE_DISPATCH_GL=1",
|
||||
"DIRECTINPUT_VERSION=0x0800",
|
||||
"SDLMAME_NET_PCAP",
|
||||
"main=utf8_main",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user