From 4eaa655352fdf2a9d01efab3b32ea54dc036d63b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 30 Aug 2024 17:52:28 +0200 Subject: [PATCH] build: Do not try to reference potentially undefined pam_dep Fixes compilation without PAM support after commit d371f35e3 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 76405ec..c7abad0 100644 --- a/meson.build +++ b/meson.build @@ -229,7 +229,7 @@ if get_option('pam') output += ' PAM module directory: ' + pam_modules_dir endif output += '\nOptional features:\n' -output += ' PAM module: ' + (pam_dep.found() and get_option('pam')).to_string() +output += ' PAM module: ' + (get_option('pam') and pam_dep.found()).to_string() output += ' Manuals: ' + get_option('man').to_string() output += ' GTK Doc: ' + get_option('gtk_doc').to_string() output += ' XML Linter ' + xmllint.found().to_string()