diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-04 12:17:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-04 12:17:22 +0000 |
commit | 0249f7510c658b74f81cb54fdc287f32956ec3c5 (patch) | |
tree | 48e72e0439334ef3c83e1a465559ab6c6d432fcb /scripts/metadata.pl | |
parent | 0d9ecfa564aec2d8d85b7e3703d49064674564df (diff) | |
download | mtk-20170518-0249f7510c658b74f81cb54fdc287f32956ec3c5.zip mtk-20170518-0249f7510c658b74f81cb54fdc287f32956ec3c5.tar.gz mtk-20170518-0249f7510c658b74f81cb54fdc287f32956ec3c5.tar.bz2 |
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37678
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-x | scripts/metadata.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 5625b8b..28ddefc 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -454,6 +454,7 @@ sub mconf_depends { next if $condition eq $depend; next if $seen->{"$parent_condition:$depend"}; + next if $seen->{":$depend"}; $seen->{"$parent_condition:$depend"} = 1; if ($depend =~ /^(.+):(.+)$/) { if ($1 ne "PACKAGE_$pkgname") { |