]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: ukify unconditionally requires pefile module
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Feb 2026 12:07:27 +0000 (21:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Feb 2026 09:47:15 +0000 (18:47 +0900)
Follow-up for 3fc5eed47091363247012454df458e1a3303bf12.

meson.build

index ee96fcb21f7709f530cf67a14e6c5362a782f46e..0361bc5904aaadeb82d086027145425f994c5360 100644 (file)
@@ -1898,7 +1898,7 @@ endif
 
 pefile = pymod.find_installation('python3', required: false, modules : ['pefile'])
 
-want_ukify = get_option('ukify').require(python_39 and (want_tests != 'true' or pefile.found()), error_message : 'Python >= 3.9 and pefile required').allowed()
+want_ukify = get_option('ukify').require(python_39 and pefile.found(), error_message : 'Python >= 3.9 and pefile required').allowed()
 conf.set10('ENABLE_UKIFY', want_ukify)
 
 #####################################################################