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)