]> git.ipfire.org Git - thirdparty/kmod.git/commit
meson: set ENABLE_{LOGGING,DEBUG} only as needed
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Oct 2024 16:22:43 +0000 (17:22 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 15 Oct 2024 17:52:23 +0000 (12:52 -0500)
commitcdbe3c68b1f6f9824fa56895f281e4a49d9d61e9
tree4be34fed49f4b7655591d2527d6ed61b9acc6c2f
parent88c11d28d891236df51229ff017dce26e8c5a479
meson: set ENABLE_{LOGGING,DEBUG} only as needed

With the introduction of the meson build, both ENABLE_LOGGING and
ENABLE_DEBUG have always been set - 1 or 0. Whereas the code relies on
them being set or unset.

Adjust the build accordingly.

Fixes: 370141c1 ("meson: introduce meson, covering libkmod.so")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/173
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build