]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Use libmount as a dependency
authorJordan Williams <jordan@jwillikers.com>
Fri, 5 Apr 2024 15:33:22 +0000 (08:33 -0700)
committerJordan Williams <jordan@jwillikers.com>
Fri, 5 Apr 2024 15:33:22 +0000 (08:33 -0700)
commitc43b185a3feb8cd7261c94f42a566486ce2c0438
treec50b108c0dbd232c8fb12e871e9762995389226a
parent6f548300b2b823af0b2ae208e12ddfdeebe3e71d
meson: Use libmount as a dependency

Several utilities depend on libmount internally.
Currently, link_with and global include directories are used to
associate targets with libmount.
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 libmount library.
A couple of executables use this dependency explicitly.

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