package/vlc: Add optional dependency to zlib
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 9 Jan 2016 21:03:54 +0000 (22:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Jan 2016 21:15:42 +0000 (22:15 +0100)
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@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vlc/vlc.mk

index a080e3efda0c77d50e6fc4a0ad6e7983f934a8d5..61b00e917dfb09f02b9b65d0bbb50ca42c2e1874 100644 (file)
@@ -368,4 +368,8 @@ else
 VLC_CONF_OPTS += --without-x
 endif
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+VLC_DEPENDENCIES += zlib
+endif
+
 $(eval $(autotools-package))