X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=03e8ebfb8b90da4f1472619c05ef7c756aa304be;hp=67dce4ae358fcf5cd00ddd224fe4463101920b23;hb=99243a356c2d5a818b8d1bffb354cd38d2424146;hpb=95c60ae8d466260ccd30db272386dfae2a9623ca diff --git a/bin/blhc b/bin/blhc index 67dce4a..03e8ebf 100755 --- a/bin/blhc +++ b/bin/blhc @@ -338,8 +338,8 @@ 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