mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
metadata.pl: fix recursive handling of conditional dependencies
SVN-Revision: 21088
This commit is contained in:
parent
ca3e07d639
commit
ceaa4bbe3c
@ -423,8 +423,9 @@ sub mconf_depends {
|
|||||||
my $vdep;
|
my $vdep;
|
||||||
my $condition = $parent_condition;
|
my $condition = $parent_condition;
|
||||||
|
|
||||||
next if $seen->{$depend};
|
next if $condition eq $depend;
|
||||||
$seen->{$depend} = 1;
|
next if $seen->{"$parent_condition:$depend"};
|
||||||
|
$seen->{"$parent_condition:$depend"} = 1;
|
||||||
if ($depend =~ /^(.+):(.+)$/) {
|
if ($depend =~ /^(.+):(.+)$/) {
|
||||||
if ($1 ne "PACKAGE_$pkgname") {
|
if ($1 ne "PACKAGE_$pkgname") {
|
||||||
if ($condition) {
|
if ($condition) {
|
||||||
|
Loading…
Reference in New Issue
Block a user