From: Yu Watanabe Date: Thu, 14 May 2026 15:38:19 +0000 (+0900) Subject: meson: don't use Python module for host Python (#41959) X-Git-Tag: v261-rc1~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c76ceaefeb6376f41255dfc4e580c21e984d47;p=thirdparty%2Fsystemd.git meson: don't use Python module for host Python (#41959) Checking for pefile required that module to be made available for the Python used to build systemd, even though it's only used at runtime, potentially via a different Python installation. Furthermore, Meson's Python module doesn't do the right thing when cross compiling and looking up a Python for the host system, so this would end up uselessly checking whether the build Python had the pefile module, which is not needed. Even if it were made to check the host Python using find_program, it still relies on being able to run its Python, which in a cross scenario it probably wouldn't be able to do. All in all, this check does more harm than good, and prevents building ukify in valid configurations, so remove it. --- a7c76ceaefeb6376f41255dfc4e580c21e984d47