Fix minimum dependency generation for foreign entities

This commit is contained in:
gingerBill
2018-01-28 14:39:18 +00:00
parent 0361a18551
commit 1a0877e965
3 changed files with 64 additions and 35 deletions

View File

@@ -425,6 +425,7 @@ void init_entity_foreign_library(Checker *c, Entity *e) {
} else {
// TODO(bill): Extra stuff to do with library names?
*foreign_library = found;
found->LibraryName.used = true;
add_entity_use(c, ident, found);
}
}