diff --git a/scripts/metadata.pl b/scripts/metadata.pl index eed1998d27..e408beb507 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -504,7 +504,7 @@ sub mconf_depends { next if $depend eq $condition; $depend = "$depend if $condition"; } else { - $depend = "!($condition) || $depend"; + $depend = "!($condition) || $depend" unless $dep->{$condition} eq 'select'; } } }