aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/PostBuildLint.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-10 13:03:34 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-10 13:03:34 -0700
commit3e94a8db42804a6ac0cc71e5b74483ebd5958f83 (patch)
tree5f173721f253ba96260e37952c8b47551ca5ef2c /toolsrc/src/PostBuildLint.cpp
parent84e1a9d3e5b16f6e7e249dabc1bdf3bb27ab0da9 (diff)
downloadvcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.tar.gz
vcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.zip
PackageSpec.target_triplet() -> ".triplet()
Diffstat (limited to 'toolsrc/src/PostBuildLint.cpp')
-rw-r--r--toolsrc/src/PostBuildLint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp
index 90aa99f55..ace4918da 100644
--- a/toolsrc/src/PostBuildLint.cpp
+++ b/toolsrc/src/PostBuildLint.cpp
@@ -658,7 +658,7 @@ namespace vcpkg::PostBuildLint
libs.insert(libs.cend(), debug_libs.cbegin(), debug_libs.cend());
libs.insert(libs.cend(), release_libs.cbegin(), release_libs.cend());
- error_count += check_lib_architecture(spec.target_triplet().architecture(), libs);
+ error_count += check_lib_architecture(spec.triplet().architecture(), libs);
switch (build_info.library_linkage)
{
@@ -677,8 +677,8 @@ namespace vcpkg::PostBuildLint
dlls.insert(dlls.cend(), release_dlls.cbegin(), release_dlls.cend());
error_count += check_exports_of_dlls(dlls, toolset.dumpbin);
- error_count += check_uwp_bit_of_dlls(spec.target_triplet().system(), dlls, toolset.dumpbin);
- error_count += check_dll_architecture(spec.target_triplet().architecture(), dlls);
+ error_count += check_uwp_bit_of_dlls(spec.triplet().system(), dlls, toolset.dumpbin);
+ error_count += check_dll_architecture(spec.triplet().architecture(), dlls);
error_count += check_outdated_crt_linkage_of_dlls(dlls, toolset.dumpbin);
break;