From 4792821a1d5d5fec764241f3d97284ec1579ce3a Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 31 Mar 2017 17:40:08 -0700 Subject: Move Environment:: functions into vcpkg_paths. Remove Environment.h/cpp --- toolsrc/src/PostBuildLint.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toolsrc/src/PostBuildLint.cpp') diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp index 65e0683f2..81f712368 100644 --- a/toolsrc/src/PostBuildLint.cpp +++ b/toolsrc/src/PostBuildLint.cpp @@ -3,7 +3,6 @@ #include "package_spec.h" #include "vcpkg_Files.h" #include "vcpkg_System.h" -#include "vcpkg_Environment.h" #include "coff_file_reader.h" #include "PostBuildLint_BuildInfo.h" #include "PostBuildLint_BuildType.h" @@ -622,7 +621,7 @@ namespace vcpkg::PostBuildLint static size_t perform_all_checks_and_return_error_count(const package_spec& spec, const vcpkg_paths& paths) { - const fs::path dumpbin_exe = Environment::get_dumpbin_exe(paths); + const fs::path dumpbin_exe = paths.get_dumpbin_exe(); BuildInfo build_info = read_build_info(paths.build_info_file_path(spec)); const fs::path package_dir = paths.package_dir(spec); -- cgit v1.2.3