2
0
ruki 4 жил өмнө
parent
commit
4533470ecd

+ 3 - 1
packages/b/boost/xmake.lua

@@ -90,7 +90,9 @@ package("boost")
             "--without-icu"
         }
         if is_host("windows") then
-            os.vrunv("bootstrap.bat", bootstrap_argv)
+            import("core.tool.toolchain")
+            local runenvs = toolchain.load("msvc"):runenvs()
+            os.vrunv("bootstrap.bat", bootstrap_argv, {envs = runenvs})
         else
             os.vrunv("./bootstrap.sh", bootstrap_argv)
         end