From: Arnout Vandecappelle Date: Tue, 28 Apr 2020 08:50:43 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-meson.mk: set correct pkgconfig for native dependencies In-Reply-To: <20200428072202.5889620f@windsurf.home> References: <20200428040638.122494-1-james.hilliard1@gmail.com> <20200428072202.5889620f@windsurf.home> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 28/04/2020 07:22, Thomas Petazzoni wrote: > +++ 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 \ This can't be right. Here you're setting the pkg_config_path to the one for native build. It may work in the specific case of wayland-scanner where you actually want the native one, but it will break anything that requires the cross package config. (Of course, this statement is just from reading the code, I could be wrong.) Regards, Arnout > $$($$(PKG)_CONF_OPTS) \ > $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build