X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=ea8291fe7caad3221b33d791e37d1fb807d40e3f;hp=67dce4ae358fcf5cd00ddd224fe4463101920b23;hb=249a938478a1f8838c2672a35dcca4e4640fceda;hpb=95c60ae8d466260ccd30db272386dfae2a9623ca diff --git a/bin/blhc b/bin/blhc index 67dce4a..ea8291f 100755 --- a/bin/blhc +++ b/bin/blhc @@ -338,11 +338,11 @@ for (my $i = 0; $i < scalar @input; $i++) { # Linker commands. if ($line =~ m{\s-o # -o [\s\\]*\s+ # possible line continuation - (?:[A-Za-z0-9_/.-]+/)? # path to file - [A-Za-z0-9_-]+ # binary name (no dots!) + (?:[/.A-Za-z0-9~_-]+/)? # path to file + [A-Za-z0-9~_-]+ # binary name (no dots!) (?:[0-9.]*\.so[0-9.]*[a-z]? # library (including version) |\.la)? - (?:\s|\\|\$) # end of file name + (?:\s|\\|$) # end of file name }x or $line =~ /^libtool: link: / or $line =~ m{\s*/bin/bash .+?libtool\s+(.+?\s+)?--mode=(re)?link}) {