[vlc-commits] contrib: warn user if arch is not supported

Rafaël Carré git at videolan.org
Thu Nov 24 18:53:36 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 12:53:01 2011 -0500| [548461368fe06b738bfe20f78c93bc26907291f5] | committer: Rafaël Carré

contrib: warn user if arch is not supported

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=548461368fe06b738bfe20f78c93bc26907291f5
---

 contrib/src/main.mak |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 038bd94..a1592e1 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -278,9 +278,13 @@ ifdef HAVE_WIN32
 OS=win32
 endif
 
-PREBUILT_URL=ftp://ftp.videolan.org/pub/videolan/contrib/$(OS)/vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2
+PREBUILT_URL=ftp://ftp.videolan.org/pub/videolan/contrib/$(OS)/vlc-contrib-$(HOST)-latest.tar.bz2
 
-vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2:
+vlc-contrib-$(HOST)-latest.tar.bz2:
+ifeq ($(OS),)
+	@echo No prebuilt contribs available for $(ARCH)
+	exit 1
+endif
 	$(call download,$(PREBUILT_URL))
 
 prebuilt: vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2



More information about the vlc-commits mailing list