[vlc-devel] [PATCH] contrib: pass the pkg_config path to Meson when cross compiling

Marvin Scholz epirat07 at gmail.com
Mon Dec 23 10:35:04 CET 2019


LGTM, maybe add PKG_CONFIG_PATH too

On 23 Dec 2019, at 9:48, Steve Lhomme wrote:

> Otherwise it's using the system path.
> ---
>  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 73dce792a9e..5e5846de977 100644
> --- a/contrib/src/main.mak
> +++ b/contrib/src/main.mak
> @@ -427,7 +427,7 @@ ifdef HAVE_CROSS_COMPILE
>  # generated crossfile, so everything should work as
>  # expected.
>  MESONFLAGS += --cross-file $(abspath crossfile.meson)
> -MESON = env -i PATH="$(PREFIX)/bin:$(PATH)" meson $(MESONFLAGS)
> +MESON = env -i PATH="$(PREFIX)/bin:$(PATH)" 
> PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" meson $(MESONFLAGS)
>  else
>  MESON = meson $(MESONFLAGS)
>  endif
> -- 
> 2.17.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list