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

Steve Lhomme robux4 at ycbcr.xyz
Fri Jan 31 08:00:14 CET 2020


On 2020-01-30 17:18, 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?

I thought PKG_CONFIG_LIBDIR was supposed to be a unique folder, but 
apparently it's not, so yes it should work.


More information about the vlc-devel mailing list