]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Correctly detect linking for CGI binaries (e.g. test.cgi).
[blhc/blhc.git] / bin / blhc
index d089931fa04de504f151fdda83a87c4cf7352f60..9430479bd435828153e6efc13d5401593fb88a1d 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -414,7 +414,8 @@ for (my $i = 0; $i < scalar @input; $i++) {
                    (?:[/.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)?
+                    |\.la
+                    |\.cgi)?                   # CGI binary
                    (?:\s|\\|$)                 # end of file name
                   }x
             or $line =~ /^libtool: link: /