]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Use libblkid as a dependency
authorJordan Williams <jordan@jwillikers.com>
Mon, 15 Apr 2024 13:02:05 +0000 (08:02 -0500)
committerJordan Williams <jordan@jwillikers.com>
Mon, 15 Apr 2024 13:02:05 +0000 (08:02 -0500)
commit1443a1852472181c2c1f6e6dd7085b88805b9e0d
tree1010d5d13ad32923c6d84bb490d4e5c166df90ed
parent4895394ba6dec446dd222933c9b7933581ae23eb
meson: Use libblkid as a dependency

Several utilities depend on libblkid internally.
Currently, link_with and global include directories are used to
associate targets with libblkid.
This PR uses Meson's dependencies argument for targets to define this
relationship instead.
This carries include directories along with the library to link.

An additional dependency is declared for the static libblkid library.
A couple of executables use this dependency explicitly.

Signed-off-by: Jordan Williams <jordan@jwillikers.com>
(cherry picked from commit a764efb5fb14b9a66bff8807c04ddcebc51939ea)
libblkid/meson.build
libfdisk/meson.build
libmount/meson.build
meson.build