]> 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>
Mon, 15 Apr 2024 12:57:33 +0000 (07:57 -0500)
commit4895394ba6dec446dd222933c9b7933581ae23eb
treee0d81a79b5692e7985b76e2d188966a6b07c7e69
parent013c3665556a3820952a4d80e62670ad32a48949
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>
(cherry picked from commit c43b185a3feb8cd7261c94f42a566486ce2c0438)
libmount/meson.build
libmount/python/meson.build
meson.build