]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Correctly require the Python.h header for the python dependency
authorJordan Williams <jordan@jwillikers.com>
Tue, 7 May 2024 14:40:44 +0000 (09:40 -0500)
committerJordan Williams <jordan@jwillikers.com>
Thu, 9 May 2024 21:49:01 +0000 (16:49 -0500)
commit7e582204cd7cac2b55a2f7c0fb06899fcf7ff5df
tree3594c6c55495df4cc3ca06116b022ba62da79c82
parentcb7ac65dcaf655ea5dedf8820ab6417629241aa4
meson: Correctly require the Python.h header for the python dependency

The current solution to require the Python.h header works around a bug
in Meson that has been fixed for version 1.4.1 of Meson.
Refer to https://github.com/mesonbuild/meson/issues/12862.
This change uses an explicit check for the Python.h include.
This verifies the required header exists.
This check is only necessary prior to version 1.4.1 of Meson.

Signed-off-by: Jordan Williams <jordan@jwillikers.com>
libmount/python/meson.build