aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_env.cpp
diff options
context:
space:
mode:
authormmazaherit <m.mazaheri.t@gmail.com>2017-06-08 23:53:58 -0400
committermmazaherit <m.mazaheri.t@gmail.com>2017-06-08 23:53:58 -0400
commite544b742903ddceba71d4652f30a9df4baca598e (patch)
tree824fdf1bca936d845c20b51a140e9f60629653cb /toolsrc/src/commands_env.cpp
parent9b57ecbdd786113e33d8a149d240769682c7846e (diff)
parentff52016d018c9d346cd402e9cc98d24dff39d900 (diff)
downloadvcpkg-e544b742903ddceba71d4652f30a9df4baca598e.tar.gz
vcpkg-e544b742903ddceba71d4652f30a9df4baca598e.zip
Merge branch 'master' of https://github.com/mmazat/vcpkg
Diffstat (limited to 'toolsrc/src/commands_env.cpp')
-rw-r--r--toolsrc/src/commands_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_env.cpp b/toolsrc/src/commands_env.cpp
index 5e1ecc5e7..dd7172b89 100644
--- a/toolsrc/src/commands_env.cpp
+++ b/toolsrc/src/commands_env.cpp
@@ -13,7 +13,7 @@ namespace vcpkg::Commands::Env
args.check_and_get_optional_command_arguments({});
auto pre_build_info = Build::PreBuildInfo::from_triplet_file(paths, default_triplet);
- System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset()) + L" && cmd");
+ System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset(pre_build_info.platform_toolset)) + L" && cmd");
Checks::exit_success(VCPKG_LINE_INFO);
}