[vlc-devel] [PATCH 2/5] contrib: live555: fail properly when making subdirectories

Sean McGovern gseanmcg at gmail.com
Tue Feb 6 09:49:01 CET 2018


---
 contrib/src/live555/rules.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/src/live555/rules.mak b/contrib/src/live555/rules.mak
index b77d96c..db18c2f 100644
--- a/contrib/src/live555/rules.mak
+++ b/contrib/src/live555/rules.mak
@@ -89,7 +89,7 @@ SUBDIRS=groupsock liveMedia UsageEnvironment BasicUsageEnvironment
 	cd $< && echo "LIBDIR = $(PREFIX)/lib" >> Makefile.head && \
 		echo "PREFIX = $(PREFIX)" >> Makefile.head
 	cd $< && ./genMakefiles $(LIVE_TARGET)
-	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir; done
-	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir install; done
+	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir || exit $$? ; done
+	cd $< && for subdir in $(SUBDIRS); do $(MAKE) $(HOSTVARS) -C $$subdir install || exit $$? ; done
 	cd $< && $(MAKE) install_shared_libraries
 	touch $@
-- 
2.7.4



More information about the vlc-devel mailing list