[vlc-devel] [vlc-commits] configure: also set PKG_CONFIG_LIBDIR for the contribs

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 14 15:25:51 CET 2019


I don't think this is a correct fix, tbh.

On Thu, 14 Feb 2019, at 08:03, Steve Lhomme wrote:
> vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Feb 13 
> 15:39:09 2019 +0100| [fbb7265fa138aa4012d570eca9119ab35a3e579b] | 
> committer: Steve Lhomme
> 
> configure: also set PKG_CONFIG_LIBDIR for the contribs
> 
> 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.
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbb7265fa138aa4012d570eca9119ab35a3e579b
> ---
> 
>  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"], [
> 
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list