aboutsummaryrefslogtreecommitdiff
path: root/package/vlc/vlc.mk
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <patrickdepinguin@gmail.com>2014-02-16 19:32:42 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-16 21:02:34 +0100
commitc72cb08cb1b57d272205ce49d324c55d98c9a91f (patch)
tree60701b14b4c11b6e5d6323ca7c99fce1ce72c6ac /package/vlc/vlc.mk
parente78d357551f3191fee7b6bcc18dfd8514819cafb (diff)
downloadbuildroot-c72cb08cb1b57d272205ce49d324c55d98c9a91f.tar.gz
buildroot-c72cb08cb1b57d272205ce49d324c55d98c9a91f.tar.bz2
vlc: needs dependency on host-lua if Lua is selected
If Lua support is requested in VLC, its configure script tries to find the luac byte compiler, which fails if host-lua is not yet built. This can be easily reproduced by setting a minimal config with vlc and Lua enabled, and running: 'make clean toolchain vlc'. Final output is: checking for LUA... no configure: WARNING: Package lua5.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `lua5.2.pc' to the PKG_CONFIG_PATH environment variable No package 'lua5.2' found, trying lua 5.1 instead checking for LUA... no configure: WARNING: Package lua5.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `lua5.1.pc' to the PKG_CONFIG_PATH environment variable No package 'lua5.1' found, trying lua >= 5.1 instead checking for LUA... yes checking for luac... no configure: error: Could not find the LUA byte compiler. make: *** [<buildroot>/output/build/vlc-2.1.2/.stamp_configured] Error 1 Fix this problem by setting host-lua as a dependency to vlc. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vlc/vlc.mk')
-rw-r--r--package/vlc/vlc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index f235ff8117..61695147ae 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -226,7 +226,7 @@ endif
ifeq ($(BR2_PACKAGE_LUA),y)
VLC_CONF_OPT += --enable-lua
-VLC_DEPENDENCIES += lua
+VLC_DEPENDENCIES += lua host-lua
else
VLC_CONF_OPT += --disable-lua
endif