vcpkg build: Fix missing cascade failure when host dependency on itself fails
Currently dependencies on itself were completely ignored, but they must not be ignored when
the triplet is different.
MODIFY
src/vcpkg/build.cpp
src/vcpkg/build.cpp
@@ -1215,7 +1215,7 @@ namespace vcpkg::Build
{
for (const FeatureSpec& fspec : kv.second)
{
- if (!(status_db.is_installed(fspec) || fspec.name() == name))
+ if (!status_db.is_installed(fspec) && !(fspec.name() == name && fspec.triplet() == spec.triplet()))
{
missing_fspecs.emplace_back(fspec);
}

vcpkg build: Fix missing cascade failure when host dependency on itself fails (#228)

Currently dependencies on itself were completely ignored, but they must not be ignored when
the triplet is different.