Skip DLLs provided by Windows when checking for unresolvable DLLs
This commit is contained in:
parent
c2e7f40767
commit
cbfdf2236e
|
@ -489,6 +489,11 @@ std::unordered_map<PackageSpec, UnresolvedDependencies> Database::detectUnresolv
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip DLLs known to be provided by Windows (but can not be detected as provides of mingw-w64-crt)
|
||||||
|
if (requiredLib.name.find("api-ms-win") != std::string::npos && requiredLib.name.ends_with(".dll")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// add packages to list of unresolved packages
|
// add packages to list of unresolved packages
|
||||||
for (const auto &affectedPackageID : requiredLib.relevantPackages) {
|
for (const auto &affectedPackageID : requiredLib.relevantPackages) {
|
||||||
const auto affectedPackage = findPackage(affectedPackageID);
|
const auto affectedPackage = findPackage(affectedPackageID);
|
||||||
|
|
Loading…
Reference in New Issue