[vlc-devel] [PATCH] contrib: fix the PKG_CONFIG_LIBDIR path

Alexandre Janniaux ajanni at videolabs.io
Thu Jan 30 17:24:45 CET 2020


Hi,

On Thu, Jan 30, 2020 at 06:18:45PM +0200, Rémi Denis-Courmont wrote:
> Le torstaina 30. tammikuuta 2020, 17.11.52 EET Steve Lhomme a écrit :
> > Not sure if it's distro dependant but the Raspbian packages are found in
> > /usr/lib/arm-linux-gnueabihf/pkgconfig
> > ---
> >  contrib/src/main.mak | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/contrib/src/main.mak b/contrib/src/main.mak
> > index 1b7ff3190f3..8892c75206f 100644
> > --- a/contrib/src/main.mak
> > +++ b/contrib/src/main.mak
> > @@ -226,7 +226,7 @@ ifdef HAVE_CROSS_COMPILE
> >  # This inhibits .pc file from within the cross-compilation toolchain
> > sysroot. # Hopefully, nobody ever needs that.
> >  PKG_CONFIG_PATH := /usr/share/pkgconfig
> > -PKG_CONFIG_LIBDIR := /usr/$(HOST)/lib/pkgconfig
> > +PKG_CONFIG_LIBDIR := /usr/lib/$(HOST)/pkgconfig
> >  export PKG_CONFIG_LIBDIR
> >  endif
> >  PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig:$(PKG_CONFIG_PATH)
>
> Debian seems pretty conflicted about which order is right. But in this case,
> can't we add both?

Indeed, it's much better than my hacky suggestion.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list