mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
linktrace-to-depfile: Support alternative linker trace formatting (for openbsd)
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
2d58372ec2
commit
952d2a524c
@ -7,8 +7,9 @@ my %deps;
|
||||
|
||||
while (my $line = <>) {
|
||||
chomp $line;
|
||||
if ($line =~ /\(([^)]+)/) {
|
||||
$deps{abs_path($1)} = 1;
|
||||
$line =~ s/[()]/ /g;
|
||||
for my $word (split(/\s+/, $line)) {
|
||||
$deps{abs_path($word)} = 1 if ($word =~ /\.a$/);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user