[vlc-devel] [PATCH] Revert "lua: don't call directly config_GetLibDir"
remi at remlab.net
Mon Jul 31 17:08:26 CEST 2017
Le maanantaina 31. heinäkuuta 2017, 11.57.18 EEST Nicolas Chauvet a écrit :
> This fix lua modules loading such as http interface and youtube scripts.
> libdir and datadir are differents kind of directories on Linux.
> The former is for arch dependent content whereas the latter is arch
> In the case of luac files, the man luac page says
> "Precompiled chunks are not portable across different architectures."
> So theses files qualifies as been located in a "libdir" directory
How so? VLC explicitly forces the 32-bits scalar ABI for Lua byte code, and
only officially supports little endian (patch welcome to fix big endian). This
is necessary to exchange third-party Lua scripts.
So AFAIK, VLC Lua byte code is architecture-independent, and that is very much
More information about the vlc-devel