From 3edf56abd4c99e9bdb2a9973394088cc80de3e41 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Mon, 14 May 2018 16:21:23 +0200 Subject: [PATCH] Write 'Error' in a way that our 'Error:' grep does not find it Otherwise, the error reporting at end of build erroneously reports a number of errors by scanning the build log. --- rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.mk b/rules.mk index 79931b8..3d7c887 100644 --- a/rules.mk +++ b/rules.mk @@ -458,9 +458,9 @@ $(MIQ_OBJDIR)%?.pkg-config.ldflags: $(MIQ_PKGDEPS) # Non-optional packages $(MIQ_OBJDIR)%.pkg-config.cflags: $(MIQ_PKGDEPS) - $(PRINT_PKGCONFIG) pkg-config --cflags $* > $@ || (echo "Error: Required package $* not found" && false) + $(PRINT_PKGCONFIG) pkg-config --cflags $* > $@ || (echo "Error"": Required package $* not found" && false) $(MIQ_OBJDIR)%.pkg-config.ldflags: $(MIQ_PKGDEPS) - $(PRINT_COMMAND) pkg-config --libs $* > $@ || (echo "Error: Required package $* not found" && false) + $(PRINT_COMMAND) pkg-config --libs $* > $@ || (echo "Error"": Required package $* not found" && false) $(MIQ_OBJDIR)lib%.cfg.ldflags: $(MIQ_OBJDIR)CFG_HAVE_lib%.h $(MIQ_PKGDEPS) $(PRINT_COMMAND) (grep -q 'define ' $< && echo $(LINK_CFG_OPT)$* || true) > $@