aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-04 12:17:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-08-04 12:17:22 +0000
commite84c4d5b0a0a116bcd66cc154d35c7e9ad8ac2d8 (patch)
treeccfc1a279f2569eb5e273377e6fbe3bc804ff8ab /scripts/metadata.pl
parent69a742c7fc5e2738885614257c30923050a98767 (diff)
downloadmaster-187ad058-e84c4d5b0a0a116bcd66cc154d35c7e9ad8ac2d8.tar.gz
master-187ad058-e84c4d5b0a0a116bcd66cc154d35c7e9ad8ac2d8.tar.bz2
master-187ad058-e84c4d5b0a0a116bcd66cc154d35c7e9ad8ac2d8.zip
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 5625b8b5be..28ddefcd9c 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") {