Fix early return for special handling of `mingw-w64-crt`

This commit is contained in:
Martchus 2022-03-03 22:43:31 +01:00
parent cbfdf2236e
commit 6456273951
1 changed files with 2 additions and 1 deletions

View File

@ -804,7 +804,8 @@ std::vector<std::string> Package::processDllsReferencedByImportLibs(std::set<str
return issues;
} else if (name == "mingw-w64-crt") {
// assume the CRT references DLLs provided by Windows itself
libprovides = move(dllsReferencedByImportLibs);
libprovides = std::move(dllsReferencedByImportLibs);
return issues;
}
for (const auto &referencedDLL : dllsReferencedByImportLibs) {
if (libprovides.find(referencedDLL) == libprovides.end()) {