From 176279c453afed1e0aab9db5283a92b1e92e1fb1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 20 Mar 2012 20:32:16 +0100 Subject: [PATCH] Detect LINK non-verbose builds. --- bin/blhc | 2 +- t/logs/verbose-build | 1 + t/tests.t | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index f945586..7075ec8 100755 --- a/bin/blhc +++ b/bin/blhc @@ -166,7 +166,7 @@ sub is_non_verbose_build { my ($line, $next_line, $skip_ref) = @_; if (not ($line =~ /^checking if you want to see long compiling messages\.\.\. no/ - or $line =~ /^\s*\[?(?:CC|CCLD|CXX|CXXLD|LD)\]?\s+(.+?)$/ + or $line =~ /^\s*\[?(?:CC|CCLD|CXX|CXXLD|LD|LINK)\]?\s+(.+?)$/ or $line =~ /^\s*(?:C|c)ompiling\s+(.+?)(?:\.\.\.)?$/ or $line =~ /^\s*(?:B|b)uilding (?:program|shared library)\s+(.+?)$/ or $line =~ /^\s*\[[\d ]+%\] Building (?:C|CXX) object (.+?)$/)) { diff --git a/t/logs/verbose-build b/t/logs/verbose-build index b013028..835e7c5 100644 --- a/t/logs/verbose-build +++ b/t/logs/verbose-build @@ -16,6 +16,7 @@ checking whether compiling and linking against OpenSSL works... yes ... CCLD libtest.la + LINK libtest.la CXX libtest-a.lo CXX libtest-b.lo diff --git a/t/tests.t b/t/tests.t index 3c7e5b8..09c22f1 100644 --- a/t/tests.t +++ b/t/tests.t @@ -310,6 +310,7 @@ NONVERBOSE BUILD: CC libtest-b.lo NONVERBOSE BUILD: CC libtest_c.lo NONVERBOSE BUILD: CC libtest-d.lo NONVERBOSE BUILD: CCLD libtest.la +NONVERBOSE BUILD: LINK libtest.la NONVERBOSE BUILD: CXX libtest-a.lo NONVERBOSE BUILD: CXX libtest-b.lo NONVERBOSE BUILD: CXX libtest_c.lo -- 2.45.2