[vlc-devel] [PATCH] contrib: use the pkg info from our contribs before the system ones

Steve Lhomme robux4 at videolabs.io
Wed Oct 26 17:32:27 CEST 2016


When a package is forced to be built rather than using the system one, we want
to use the contrib one when building depending packages.
---
 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 9042227..d8f1d37 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -216,7 +216,7 @@ PKG_CONFIG_PATH := /usr/share/pkgconfig
 PKG_CONFIG_LIBDIR := /usr/$(HOST)/lib/pkgconfig
 export PKG_CONFIG_LIBDIR
 endif
-PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(PREFIX)/lib/pkgconfig
+PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig:$(PKG_CONFIG_PATH)
 export PKG_CONFIG_PATH
 
 ifndef GIT
-- 
2.8.2



More information about the vlc-devel mailing list