Browse Source

boost: fix process syslinks on windows

star9029 5 months ago
parent
commit
3b847188b8
1 changed files with 2 additions and 0 deletions
  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
     if is_plat("linux", "bsd") then
         add_syslinks("pthread", "dl")
         add_syslinks("pthread", "dl")
+    elseif is_plat("windows", "mingw") then
+        add_syslinks("ntdll", "shell32", "advapi32", "user32", "ws2_32")
     end
     end
 
 
     on_fetch("fetch")
     on_fetch("fetch")