[vlc-devel] [PATCH] contrib: fix the PKG_CONFIG_LIBDIR path
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jan 30 16:11:52 CET 2020
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)
--
2.17.1
More information about the vlc-devel
mailing list