From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 28 Apr 2020 09:10:22 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-meson.mk: set correct pkgconfig for native dependencies In-Reply-To: References: <20200428040638.122494-1-james.hilliard1@gmail.com> <20200428072202.5889620f@windsurf.home> Message-ID: <20200428091022.4c613e80@windsurf.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Tue, 28 Apr 2020 08:50:43 +0200 Arnout Vandecappelle wrote: > 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. Isn't the "build." scoping of that property going to make it apply only for the native parts of the build ? Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com