From 46569d454a7fbf44c21d1f8008fc8509ba218600 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Thu, 24 Feb 2022 12:50:01 -0800 Subject: [PATCH] Add Z_ to VCPKG_CHAINLOAD_TOOLCHAIN_FILE to workaround the regression caused by #350 (#379) --- src/vcpkg/build.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcpkg/build.cpp b/src/vcpkg/build.cpp index b88a6aef48..60382d5aad 100644 --- a/src/vcpkg/build.cpp +++ b/src/vcpkg/build.cpp @@ -765,7 +765,7 @@ namespace vcpkg::Build {"_VCPKG_DOWNLOAD_TOOL", to_string(action.build_options.download_tool)}, {"_VCPKG_EDITABLE", Util::Enum::to_bool(action.build_options.editable) ? "1" : "0"}, {"_VCPKG_NO_DOWNLOADS", !Util::Enum::to_bool(action.build_options.allow_downloads) ? "1" : "0"}, - {"VCPKG_CHAINLOAD_TOOLCHAIN_FILE", action.pre_build_info(VCPKG_LINE_INFO).toolchain_file()}, + {"Z_VCPKG_CHAINLOAD_TOOLCHAIN_FILE", action.pre_build_info(VCPKG_LINE_INFO).toolchain_file()}, }; if (action.build_options.download_tool == DownloadTool::ARIA2)