[Buildroot] [PATCH] package/pkg-meson.mk: set Python sysconfigdata

Arnout Vandecappelle arnout at mind.be
Sun Oct 13 16:43:12 UTC 2019



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]


More information about the buildroot mailing list