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

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


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?

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list