[Buildroot] [PATCH 1/1] package/libselinux: fix build with python 3.8

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Oct 21 19:06:03 UTC 2019


On Sun, 20 Oct 2019 14:31:19 -0600
James Hilliard <james.hilliard1 at gmail.com> wrote:

> +ifeq ($(BR2_PACKAGE_PYTHON3),y)
> +LIBSELINUX_MAKE_OPTS += \
> +	PYLIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`"
> +endif

Same question: libselinux is not embedding Python, it is providing a
Python extension written in C, so according to what's in
https://bugs.python.org/issue36721, we should not need --embed.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list