]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Only build blkzone and blkpr if the required linux header exists
authorJordan Williams <jordan@jwillikers.com>
Wed, 20 Mar 2024 16:41:49 +0000 (11:41 -0500)
committerKarel Zak <kzak@redhat.com>
Fri, 22 Mar 2024 10:30:16 +0000 (11:30 +0100)
commit8beae411393d565778a80d3513be8b68bf5967fa
treea23d40f905ef228b2352d2e0513e5f60e3267bcd
parent4f057203f9baf1dc3cee452f5ac6cd53499df750
meson: Only build blkzone and blkpr if the required linux header exists

Checks for the required headers for blkzone and blkptr are done for
 Autotools.
This logic wasn't carried over to Meson.
This PR just adds the same checks.

Fixes #2850.

Signed-off-by: Jordan Williams <jordan@jwillikers.com>
(cherry picked from commit 1a374511693e4b2e8e53966615ce9112553d3b08)
meson.build