meson: allow using staging python
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Dec 2024 01:05:01 +0000 (01:05 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 2 Dec 2024 19:30:22 +0000 (19:30 +0000)
commit41f7322853621ea14a2d057cd6322014307acc02
tree357b979b0614089e6ce3da963f1167eaad756f5b
parent83491965715eea103c9386494e2643ba644ad248
meson: allow using staging python

Introduce package flag MESON_USE_STAGING_PYTHON which allows packages
to be built with the OpenWrt-built python3/host instead of relying on the
buildhost's Python distribution.
This is useful for packages using Meson which require additional Python
modules during build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/meson.mk