aboutsummaryrefslogtreecommitdiff
path: root/package/vlc/vlc.mk
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-02-08 15:34:53 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-08 22:05:22 +0100
commitdace28c73297372d4686fcfee75370472f909c1a (patch)
tree511bb47af7daf7cac6106b02b44155d942b859d9 /package/vlc/vlc.mk
parent833bc901d633a0cefec51efd32b7967a0877df8a (diff)
downloadbuildroot-dace28c73297372d4686fcfee75370472f909c1a.tar.gz
buildroot-dace28c73297372d4686fcfee75370472f909c1a.tar.bz2
vlc: fix libgcrypt support
This patch allows to override the libgcrypt-config location instead of using the one found in the PATH, which is usually the host system one. Fixes: http://autobuild.buildroot.org/results/5e4/5e42d1139bbbed2421193d8acc52df9442c43730/build-end.log Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vlc/vlc.mk')
-rw-r--r--package/vlc/vlc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index feee82db98..65aab369db 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -10,6 +10,7 @@ VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
VLC_LICENSE = GPLv2+ LGPLv2.1+
VLC_LICENSE_FILES = COPYING COPYING.LIB
VLC_DEPENDENCIES = host-pkgconf
+VLC_AUTORECONF = YES
VLC_CONF_OPT += \
--disable-a52 \
@@ -110,6 +111,8 @@ endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
VLC_CONF_OPT += --enable-libgcrypt
VLC_DEPENDENCIES += libgcrypt
+VLC_CONF_ENV += \
+ GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config"
else
VLC_CONF_OPT += --disable-libgcrypt
endif