2
0
Jérôme Leclercq 3 жил өмнө
parent
commit
eed6ab7ebd

+ 4 - 0
packages/s/sfml/xmake.lua

@@ -25,6 +25,10 @@ package("sfml")
         end
         end
     end
     end
 
 
+    if is_plat("linux") then
+        add_syslinks("pthread")
+    end
+
     add_configs("graphics",   {description = "Use the graphics module", default = true, type = "boolean"})
     add_configs("graphics",   {description = "Use the graphics module", default = true, type = "boolean"})
     add_configs("window",     {description = "Use the window module", default = true, type = "boolean"})
     add_configs("window",     {description = "Use the window module", default = true, type = "boolean"})
     add_configs("audio",      {description = "Use the audio module", default = true, type = "boolean"})
     add_configs("audio",      {description = "Use the audio module", default = true, type = "boolean"})