]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Fix typo in linker command regex.
authorSimon Ruderich <simon@ruderich.org>
Fri, 16 Mar 2012 16:44:08 +0000 (17:44 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 16 Mar 2012 16:46:49 +0000 (17:46 +0100)
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}) {