[Buildroot] [git commit] package/pkg-meson.mk: set correct pkgconfig for native dependencies
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri May 1 14:01:29 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=5cff3a8bdfba92e9f61d0984df08f1ecd205c072
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <james.hilliard1 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/pkg-meson.mk | 1 +
1 file changed, 1 insertion(+)
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
More information about the buildroot
mailing list