Browse Source

metadata: fix handling of multiple build dependencies with different conditions

SVN-Revision: 25505
Felix Fietkau 14 years ago
parent
commit
8d0cf8fde2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/metadata.pl

+ 1 - 1
scripts/metadata.pl

@@ -738,7 +738,7 @@ sub gen_package_mk() {
 				if ($idx) {
 					my $depline;
 					next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
-					next if $dep{$pkg->{src}."->".$idx};
+					next if $dep{$condition.":".$pkg->{src}."->".$idx};
 					next if $dep{$pkg->{src}."->($dep)".$idx} and $pkg_dep->{vdepends};
 					my $depstr;