[vlc-commits] contrib: add /usr/lib/TRIPLET/pkgconfig to PKG_CONFIG_LIBDIR

Steve Lhomme git at videolan.org
Fri Jan 31 11:34:25 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jan 30 10:35:52 2020 +0100| [73a2e85cc4926c52092ea2ba48fd191dab9a7b10] | committer: Steve Lhomme

contrib: add /usr/lib/TRIPLET/pkgconfig to PKG_CONFIG_LIBDIR

Not sure if it's distro dependant but the Raspbian packages are found in
/usr/lib/arm-linux-gnueabihf/pkgconfig

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73a2e85cc4926c52092ea2ba48fd191dab9a7b10
---

 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 27722baf51..849b69ffba 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -229,7 +229,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/$(HOST)/lib/pkgconfig:/usr/lib/$(HOST)/pkgconfig
 export PKG_CONFIG_LIBDIR
 endif
 PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig:$(PKG_CONFIG_PATH)



More information about the vlc-commits mailing list