diff options
-rwxr-xr-x | scripts/package-metadata.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl index 36b1160d8c..53bb45a62c 100755 --- a/scripts/package-metadata.pl +++ b/scripts/package-metadata.pl @@ -209,7 +209,7 @@ sub mconf_depends { $flags =~ /@/ or $depend = "PACKAGE_$depend"; } else { my $vdep = $vpackage{$depend}; - if ($vdep) { + if ($vdep && @$vdep > 0) { $depend = join("||", map { "PACKAGE_".$_->{name} } @$vdep); } else { $flags =~ /@/ or $depend = "PACKAGE_$depend"; |