[vlc-devel] [PATCH] contrib: allow using prebuilt packages when cross-compiling

Rémi Denis-Courmont remi at remlab.net
Thu Jan 30 17:51:29 CET 2020

Le torstaina 30. tammikuuta 2020, 17.34.30 EET Alexandre Janniaux a écrit :
> While I want such patch as much as you want, this doesn't
> respect the original intent of this, which is avoiding using
> system libraries for targets when we don't want to, so it
> should probably be enabled with an option somehow imho.

No. The original intent of that code, which has literally not changed since 
merging the "new" contrib is to prevent using the native pkg-config in cross-
compilation. Back then (2011), we did not support multiarch pkg-config.

> An example of such issue would be linking some system
> library while building for android, because you have an
> environment alike available system-wide for other purpose,
> and not shipping the shared object that was linked.

Bad example. Android has a different host tuple than GNU/Linux.

Реми Дёни-Курмон

More information about the vlc-devel mailing list