|
@@ -90,7 +90,9 @@ package("boost")
|
|
"--without-icu"
|
|
"--without-icu"
|
|
}
|
|
}
|
|
if is_host("windows") then
|
|
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
|
|
else
|
|
os.vrunv("./bootstrap.sh", bootstrap_argv)
|
|
os.vrunv("./bootstrap.sh", bootstrap_argv)
|
|
end
|
|
end
|