Jelajahi Sumber

boost: fix process syslinks on windows

star9029 7 bulan lalu
induk
melakukan
3b847188b8
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      packages/b/boost/xmake.lua

+ 2 - 0
packages/b/boost/xmake.lua

@@ -64,6 +64,8 @@ package("boost")
 
     if is_plat("linux", "bsd") then
         add_syslinks("pthread", "dl")
+    elseif is_plat("windows", "mingw") then
+        add_syslinks("ntdll", "shell32", "advapi32", "user32", "ws2_32")
     end
 
     on_fetch("fetch")