[vlc-devel] [PATCH] contrib: pass the pkg_config path to Meson when cross compiling
Steve Lhomme
robux4 at ycbcr.xyz
Mon Dec 23 09:48:50 CET 2019
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
More information about the vlc-devel
mailing list