From 972500fcc93f816e0a70fa7b64da6636607167e4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 8 Dec 2010 12:36:26 -0500 Subject: [PATCH] return failure from make if build failed --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index aeb31eca01..e701494a2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -90,6 +90,8 @@ $(RECURSIVE_TARGETS): fi; \ if test -z "$$fail" ; then \ cd $(top_builddir)/build && $(MAKE) $(AM_MAKEFLAGS) $$target || exit 1; \ + else \ + exit 1; \ fi ; CORE_CFLAGS = `$(switch_builddir)/libs/apr/apr-1-config --cflags --cppflags --includes`