[vlc-devel] [PATCH] configure: fix luac detection from contrib
Thomas Guillem
thomas at gllm.fr
Wed Aug 24 18:48:34 CEST 2016
Use the same path name than the one setup by the contribs, that is $(HOST)-luac.
In configure, ${host_alias} is the var directly set by the --host argument.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index ee8f524..a0968a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -443,8 +443,8 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
])
dnl Newer contribs follow usual name space rules
- AS_IF([test -x "${CONTRIB_DIR}/../bin/${host}-luac"], [
- LUAC="${CONTRIB_DIR}/../bin/${host}-luac"
+ AS_IF([test -x "${CONTRIB_DIR}/../bin/${host_alias}-luac"], [
+ LUAC="${CONTRIB_DIR}/../bin/${host_alias}-luac"
])
])
--
2.8.1
More information about the vlc-devel
mailing list