diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c index 7a5ab73..3f00322 100644 --- a/src/state.c +++ b/src/state.c @@ -101,6 +101,9 @@ static struct apk_name_choices *name_choices_new(struct apk_database *db, memcpy(nc->pkgs, name->pkgs->item, name->pkgs->num * sizeof(struct apk_package *)); + if (name->flags & APK_NAME_TOPLEVEL_OVERRIDE) + return nc; + /* Check for global dependencies */ for (i = 0; db->world != NULL && i < db->world->num; i++) { struct apk_dependency *dep = &db->world->item[i]; |