Browse Source

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 2 years ago
parent
commit
95b91eb9af
1 changed files with 1 additions and 1 deletions
  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