BaseTools: Incorrect error message for library instance not found

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2099
This is a regression issue introduced by commit e8449e.

This patch is to fix this issue.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Feng, Bob C
2019-08-21 12:03:05 +08:00
parent 5f7bb39117
commit abc0155b03
4 changed files with 12 additions and 9 deletions

View File

@ -248,7 +248,9 @@ class WorkspaceAutoGen(AutoGen):
self.BuildDatabase,
Arch,
self.BuildTarget,
self.ToolChain
self.ToolChain,
self.Platform.MetaFile,
EdkLogger
))
for BuildData in list(self.BuildDatabase._CACHE_.values()):
if BuildData.Arch != Arch: