mirror of
https://github.com/openwrt/openwrt.git
synced 2025-08-12 22:26:10 +08:00
scripts/metadata.pl: fix ignoring missing host dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39917
This commit is contained in:
@ -774,9 +774,10 @@ sub gen_package_mk() {
|
|||||||
} elsif (defined($srcpackage{$dep})) {
|
} elsif (defined($srcpackage{$dep})) {
|
||||||
$idx = $subdir{$dep}.$dep;
|
$idx = $subdir{$dep}.$dep;
|
||||||
}
|
}
|
||||||
$idx .= $suffix;
|
|
||||||
undef $idx if $idx eq 'base-files';
|
undef $idx if $idx eq 'base-files';
|
||||||
if ($idx) {
|
if ($idx) {
|
||||||
|
$idx .= $suffix;
|
||||||
|
|
||||||
my $depline;
|
my $depline;
|
||||||
next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
|
next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
|
||||||
next if $dep{$condition.":".$pkg->{src}."->".$idx};
|
next if $dep{$condition.":".$pkg->{src}."->".$idx};
|
||||||
|
Reference in New Issue
Block a user