summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/sdl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r--scripts/src/osd/sdl.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua
index 2922c8c4775..c46b25f5589 100644
--- a/scripts/src/osd/sdl.lua
+++ b/scripts/src/osd/sdl.lua
@@ -55,6 +55,9 @@ function maintargetosdoptions(_target,_subtarget)
"SDL.dll",
}
end
+ links {
+ "psapi",
+ }
configuration { "mingw*-gcc" }
linkoptions{
@@ -467,6 +470,9 @@ if _OPTIONS["with-tools"] then
"SDL.dll",
}
end
+ links {
+ "psapi",
+ }
linkoptions{
"-municode",
}