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.
This commit is contained in:
Christophe de Dinechin 2018-05-14 16:21:23 +02:00
parent 0dd26e708d
commit 3edf56abd4
1 changed files with 2 additions and 2 deletions

View File

@ -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) > $@