Explorar o código

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
Jérôme Leclercq %!s(int64=2) %!d(string=hai) anos
pai
achega
95b91eb9af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/s/sfml/xmake.lua

+ 1 - 1
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