From: Arnout Vandecappelle Date: Sun, 13 Oct 2019 18:43:12 +0200 Subject: [Buildroot] [PATCH] package/pkg-meson.mk: set Python sysconfigdata In-Reply-To: References: <20190804220503.13534-1-arnout@mind.be> Message-ID: <50c4a224-2759-b65e-7b67-e941e2a8ce36@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 13/10/2019 01:11, Adam Duskett wrote: > All; > > I inadvertently found an issue with this patch. > If the user has not selected python or python3, > _PYTHON_SYSCONFIGDATA_NAME will be passed as an empty string, That's weird... + _PYTHON_SYSCONFIGDATA_NAME="$$(if $$(BR2_PACKAGE_PYTHON3),$$(PKG_PYTHON_SYSCONFIGDATA_NAME),_sysconfigdata)" \ If python3 is not selected, it should be set to _sysonfigdata... I don't remember how extensively I tested that situation, but I definitely did take it into account! Regards, Arnout > which > causes libglib2 to fail during the configuration step. > Apparently, all of my previous testings were done with python3 > enabled, and I didn't notice! [snip]