[vlc-commits] contrib: pass the pkg_config path to Meson when cross compiling
Steve Lhomme
git at videolan.org
Mon Dec 23 11:20:47 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Dec 23 09:48:07 2019 +0100| [2e91e325b855750d9257e3e785f38bf4b08362fe] | committer: Steve Lhomme
contrib: pass the pkg_config path to Meson when cross compiling
Otherwise it's using the system path.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e91e325b855750d9257e3e785f38bf4b08362fe
---
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 73dce792a9..5e5846de97 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
More information about the vlc-commits
mailing list