[vlc-devel] [PATCH 1/3] contrib: add a way to build native tools from contribs

Rémi Denis-Courmont remi at remlab.net
Mon Mar 23 13:06:58 CET 2020


Le maanantaina 23. maaliskuuta 2020, 13.41.07 EET Steve Lhomme a écrit :
> Add a tool to be built natively in PKGS_PROGS.

This is way too simplistic to work. Basically, it works once, and then it 
fails when somebody updates contribs.

> Native tools are built automatically when using "make prebuilt" when cross
> compiling as they are not part of the prebuilt package and needed for the
> local platform.

That's missing the point. Prebuilt is lying about what it is, including build 
tools without any indication of the build triplet.

On one hand, we cannot split prebuilt orthogonally between build and host 
parts, as some build artefacts depend on both the host and the build triplet.
On the other hand, simply building the tools after downloading prebuilt is at 
beast imprudent, as there may be nontrivial interdependencies. For instance,  
lua and luac packages must be patched in sync.

Prebuilt naming should be fixed to include both triplets, is all.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list