mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
Fixed to properly catch multiply defined symbols.
This commit is contained in:
@@ -39,7 +39,7 @@ while ( ( my $symbol, my $info ) = each %$symbols ) {
|
|||||||
$problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
|
$problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
|
||||||
} elsif ( @provides > 1 ) {
|
} elsif ( @provides > 1 ) {
|
||||||
# Symbol defined in multiple objects
|
# Symbol defined in multiple objects
|
||||||
$problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires;
|
$problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides;
|
||||||
}
|
}
|
||||||
if ( @requires == 0 ) {
|
if ( @requires == 0 ) {
|
||||||
# Symbol not required
|
# Symbol not required
|
||||||
|
|||||||
Reference in New Issue
Block a user