]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Fix typo in linker command regex.
[blhc/blhc.git] / bin / blhc
index 03e8ebfb8b90da4f1472619c05ef7c756aa304be..ea8291fe7caad3221b33d791e37d1fb807d40e3f 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -342,7 +342,7 @@ for (my $i = 0; $i < scalar @input; $i++) {
                         [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}) {