[vlc-devel] [PATCH] Configure: find LUAC in srcdir/bin, rather than in contrib dir. If contribs were built using a prefix, ${CONTRIB_DIR} will point to that prefix and ${CONTRIB_DIR}/../bin will be an invalid location where to find luac.
Rémi Denis-Courmont
remi at remlab.net
Tue Jan 9 12:38:37 CET 2018
On lundi 8 janvier 2018 16:07:12 EET Jeremy Vignelles wrote:
> ---
> configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 030832e..e4e9c74 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -440,8 +440,8 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
> ])
>
> dnl Newer contribs follow usual name space rules
> - AS_IF([test -x
> "${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}"], [ -
> LUAC="${CONTRIB_DIR}/../bin/${host_alias}-luac${BUILDEXEEXT}" +
> AS_IF([test -x "${srcdir}/contrib/bin/${host_alias}-luac${BUILDEXEEXT}"], [
> + LUAC="`cd ${srcdir} &&
> pwd`/contrib/bin/${host_alias}-luac${BUILDEXEEXT}" ])
> ])
Nack. This patch assumes native buiild.
../bin is the correct path to contrib-built build tools.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list