sfml: Add User32.lib syslinks on Windows (#2587)

I'm not sure why it passes the CI without it, but I have it failing in local
pull/2592/head
Jérôme Leclercq 1 year ago committed by GitHub
parent bb8105270f
commit 95b91eb9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/s/sfml/xmake.lua

@ -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

Loading…
Cancel
Save