From: James Hilliard Date: Tue, 28 Apr 2020 12:22:12 +0000 (-0600) Subject: package/pkg-meson.mk: set correct pkgconfig for native dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cff3a8bdfba92e9f61d0984df08f1ecd205c072;p=buildroot.git package/pkg-meson.mk: set correct pkgconfig for native dependencies This sets the correct build.pkg_config_path for all meson packages so that dependencies with native: true will properly use the the host pkgconfig instead of the target pkgconfig. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index 2ba10f30ed..0a4ab2194c 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -87,6 +87,7 @@ define $(2)_CONFIGURE_CMDS --default-library=$(if $(BR2_STATIC_LIBS),static,shared) \ --buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \ --cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \ + -Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \ $$($$(PKG)_CONF_OPTS) \ $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build endef