Skip to content

Commit

Permalink
sfml: Add User32.lib syslinks on Windows (#2587)
Browse files Browse the repository at this point in the history
I'm not sure why it passes the CI without it, but I have it failing in local
  • Loading branch information
SirLynix authored Sep 11, 2023
1 parent bb81052 commit 95b91eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s/sfml/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ package("sfml")
component:add("extsources", "brew::sfml/sfml-window")
if not package:config("shared") then
if package:is_plat("windows", "mingw") then
component:add("syslinks", "opengl32", "gdi32", "advapi32")
component:add("syslinks", "opengl32", "gdi32", "advapi32", "User32")
elseif package:is_plat("linux") then
component:add("syslinks", "dl")
elseif package:is_plat("bsd") then
Expand Down

0 comments on commit 95b91eb

Please sign in to comment.