[vlc-devel] [PATCH] contrib: allow using prebuilt packages when cross-compiling
remi at remlab.net
Thu Jan 30 18:03:43 CET 2020
Le torstaina 30. tammikuuta 2020, 17.37.57 EET Steve Lhomme a écrit :
> On 2020-01-30 16:34, Alexandre Janniaux wrote:
> > Hi,
> > 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.
> > 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.
> That's a side effect of using pkg-config incorrectly (wrong
> PKG_CONFIG_LIBDIR, direct pkg-config instead of $TRIPLET-pkg-config,
AFAICT, contribs does not detect multiarch pkg-config yet though (because that
was not known to me or even existing in 2011). I'd think that it should probe
it first, and fallback to manual paths only by default, if you want to enable
need_pkg in cross-builds.
More information about the vlc-devel