]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: Enforce sqlite dependency for liblastlog2
authorJordan Williams <jordan@jwillikers.com>
Mon, 8 Apr 2024 13:30:24 +0000 (08:30 -0500)
committerJordan Williams <jordan@jwillikers.com>
Mon, 8 Apr 2024 13:30:24 +0000 (08:30 -0500)
commit66463f0c5f52a4571c56a88b1a52b4547cb01c67
treedead9fe8f2ab776c2591e2aad2f2a13464f64328
parent07aacb371470b5561f13b95e399e5ff77e417b8f
meson: Enforce sqlite dependency for liblastlog2

liblastlog2 requires the sqlite dependency.
Currently, Meson enforces this dependency to be available only when the
build-liblastlog2 feature is explicitly enabled.
liblastlog2 is built by default, so if sqlite is not available, the
build will be configured correctly, but fail to compile.
This commit fixes this case by automatically disabling the
build-liblastlog2 feature when it is auto and sqlite is not found.

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