[vlc-devel] [PATCH 2/2] contrib: Provide a correct PKG_CONFIG_PATH to meson
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Mar 20 10:19:02 CET 2020
---
contrib/src/main.mak | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 18fb49cf65..708885cdec 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -423,7 +423,8 @@ 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)" PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" meson $(MESONFLAGS)
+MESON = env -i PATH="$(PREFIX)/bin:$(PATH)" PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" \
+ PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" meson $(MESONFLAGS)
else
MESON = meson $(MESONFLAGS)
endif
--
2.20.1
More information about the vlc-devel
mailing list