[vlc-devel] [PATCH] lua: build luac for the build, not the host

Rafaël Carré funman at videolan.org
Thu Feb 9 09:23:19 CET 2012

Le 2012-02-09 02:44, Rémi Denis-Courmont a écrit :
> On Wed,  8 Feb 2012 19:32:24 -0500, Rafaël Carré <funman at videolan.org>
> wrote:
>> Assume gcc is the compiler
>> Calling 'luac' without the .exe suffix works on Windows, just not in
>> cmd.exe
>> Tested in unix shell and Makefile
> Just install the lua compiler on the build machine.
> We don't have gcc in contribs (or, err tools), so why luac?

I think it's needed since 01ec2d6e8c9347a0

    contrib: use 32-bits LUAC file format on all platforms

    In other words, 64-bits platform will support 32-bits LUAC files and
    reject 64-bits LUAC files when using contribs.
    This should ease cross-compilation and copying luac files manually.

More information about the vlc-devel mailing list