[vlc-devel] [PATCH] configure: also set PKG_CONFIG_LIBDIR for the contribs
Steve Lhomme
robux4 at ycbcr.xyz
Wed Feb 13 16:22:38 CET 2019
For some reason in WSL x86_64-w64-mingw32-pkg-config uses PKG_CONFIG_LIBDIR
and not PKG_CONFIG_PATH and it doesn't find anything.
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 1f4ac52374..9b663de0f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -464,6 +464,7 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
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:${CONTRIB_DIR}/share/pkgconfig:$PKG_CONFIG_PATH"
+ export PKG_CONFIG_LIBDIR="${CONTRIB_DIR}/lib/pkgconfig:${CONTRIB_DIR}/share/pkgconfig:$PKG_CONFIG_LIBDIR"
LDFLAGS="${LDFLAGS} -L${CONTRIB_DIR}/lib"
AS_IF([test -z "$LUAC"], [
--
2.17.1
More information about the vlc-devel
mailing list