From: Arnout Vandecappelle Date: Tue, 28 Apr 2020 08:48:21 +0200 Subject: [Buildroot] [PATCH 1/1] package/pkg-meson.mk: set correct pkgconfig for native dependencies In-Reply-To: <20200428073214.6b598767@windsurf.home> References: <20200428040638.122494-1-james.hilliard1@gmail.com> <20200428072202.5889620f@windsurf.home> <20200428073214.6b598767@windsurf.home> Message-ID: <299ae928-75b1-fb95-d70a-e099bec45e67@mind.be> 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:32, Thomas Petazzoni wrote: > On Mon, 27 Apr 2020 23:28:05 -0600 > James Hilliard wrote: > >>> Could you have a look at the patch below? My understanding is that your >>> commit 4e0bc29993376613d200e892d491e31ea5a49622 should have made this >>> unnecessary. Could you comment ? >> I've confirmed with upstream that this option can only be passed via >> command line >> and not via cross-compilation.conf at the moment so I'm fairly confident that >> 4e0bc29993376613d200e892d491e31ea5a49622 would not fix this issue. > > But then I wonder what is the point of > 4e0bc29993376613d200e892d491e31ea5a49622 and how it can have worked ? That commit also added sys_root to cross-compilation.conf. It's very well possible that for the single thing that was tested with it (goi), the sys_root change was sufficient to make it pass. I don't remember if I double-checked if the pkg_config_libdir was taken into account. It was purely based on reading the meson source code. Regards, Arnout > > Or is it necessary *in* addition to passing -Dbuild.pkg_config_path ? > > Thanks, > > Thomas >