diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-05-31 09:17:15 +0200 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-05-31 09:17:15 +0200 |
| commit | 276d18d133cf742c748a5f114eea306b1eee1c39 (patch) | |
| tree | 6ede068740919c8533e2b9434f9b84bbe2e867f9 | |
| parent | 8b2420f74367e4973be0dd9556c021588abfe591 (diff) | |
Updated newt compilation options for using target python headers
| -rw-r--r-- | package/python-newt/newt.mk | 10 |
1 files changed, 3 insertions, 7 deletions
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) |
