]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: fix dlopen support for cryptsetup
authorLuca Boccassi <bluca@debian.org>
Fri, 2 Jul 2021 18:44:59 +0000 (19:44 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:55:21 +0000 (11:55 +0200)
commit71b98c36d4ed4f8ad7ff1c1e6070b168fc0d6e0e
tree642d52c3f7f6ca8585efef7f97f0fe9d07192233
parent8da7e26cbc224edd1cab22b7b5aebc6df5f0216e
meson: fix dlopen support for cryptsetup

dlopen is treated as a dependency, but that's not quite right, it
should be an alternative way to link to libcryptsetup.
Search for it only if cryptsetup is not disabled, and if the cryptsetup-dlopen
is explicitly set to enabled. If it is, do not link to libcryptsetup.

Add cryptsetup support status to the meson summary.
libmount/meson.build
meson.build