From 276d18d133cf742c748a5f114eea306b1eee1c39 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 31 May 2026 09:17:15 +0200 Subject: Updated newt compilation options for using target python headers --- package/python-newt/newt.mk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'package') diff --git a/package/python-newt/newt.mk b/package/python-newt/newt.mk index 5e605ed..2c45ceb 100644 --- a/package/python-newt/newt.mk +++ b/package/python-newt/newt.mk @@ -4,10 +4,6 @@ # ################################################################################ -# Force to use libintl, otherwise it finds gettext functions in the C -# library, and does not link against libintl. -NEWT_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) -NEWT_MAKE_ENV = $(PKG_PYTHON_SETUPTOOLS_ENV) -NEWT_CONF_OPTS = --without-tcl --with-python=python3.14 - -$(eval $(autotools-package)) +# Use the python configure tool from the staging path: +NEWT_MAKE_ENV += PATH=$(STAGING_DIR)/bin:$$PATH +NEWT_CONF_OPTS += --with-python=python$(PYTHON3_VERSION_MAJOR) -- cgit v1.2.3