[vlc-commits] configure: add share folder for pkg-config search path
Thomas Guillem
git at videolan.org
Mon Nov 5 18:30:01 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct 24 19:05:13 2018 +0200| [c3d17825dcc64ec15cced1e68086506c65d31463] | committer: Thomas Guillem
configure: add share folder for pkg-config search path
Headers only projects install generally their .pc into the share directory.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3d17825dcc64ec15cced1e68086506c65d31463
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c1abf7dbd2..eeaf3c5efc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,7 +419,7 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
CFLAGS="${CFLAGS} -I${CONTRIB_DIR}/include"
CXXFLAGS="${CXXFLAGS} -I${CONTRIB_DIR}/include"
OBJCFLAGS="${OBJCFLAGS} -I${CONTRIB_DIR}/include -F${CONTRIB_DIR} -F${CONTRIB_DIR}/Frameworks"
- export PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH"
+ export PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:${CONTRIB_DIR}/share/pkgconfig:$PKG_CONFIG_PATH"
LDFLAGS="${LDFLAGS} -L${CONTRIB_DIR}/lib"
AS_IF([test -z "$LUAC"], [
More information about the vlc-commits
mailing list