[Buildroot] [PATCH 1/2] package/vlc: Add optional dependency to zlib

Bernd Kuhls bernd.kuhls at t-online.de
Sat Jan 9 21:03:54 UTC 2016


zlib is an optional dependency of vlc:
http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob;f=configure.ac;h=d44151b3fb507141ce7f9b98e95fa11edcdaac01;hb=HEAD#l811

Thanks to Yann for pointing this out:
http://patchwork.ozlabs.org/patch/529248/

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/vlc/vlc.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index a080e3e..61b00e9 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -368,4 +368,8 @@ else
 VLC_CONF_OPTS += --without-x
 endif
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+VLC_DEPENDENCIES += zlib
+endif
+
 $(eval $(autotools-package))
-- 
2.6.4



More information about the buildroot mailing list