gdm/0001-meson-Define-missing-HAVE_LIBAUDIT.patch
Joan Torres e2bae6ed4e meson: Define missing HAVE_LIBAUDIT
Resolves: RHEL-89936
2025-05-07 10:52:28 +02:00

26 lines
846 B
Diff

From ca61c480ed7ec714f3253c221df7676c341c65c5 Mon Sep 17 00:00:00 2001
From: Joan Torres <joantolo@redhat.com>
Date: Wed, 7 May 2025 10:40:47 +0200
Subject: [PATCH] meson: Define missing HAVE_LIBAUDIT
This allows using libaudit to use audit logs.
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 64b986285..867cb4e26 100644
--- a/meson.build
+++ b/meson.build
@@ -210,6 +210,7 @@ conf.set_quoted('GDM_PID_FILE', gdm_pid_file)
conf.set_quoted('GNOME_SETTINGS_DAEMON_DIR', gnome_settings_daemon_dir)
conf.set_quoted('LANG_CONFIG_FILE', lang_config_file)
conf.set('HAVE_ADT', have_adt)
+conf.set('HAVE_LIBAUDIT', libaudit_dep.found())
conf.set('HAVE_UTMP_H', have_utmp_header)
conf.set('HAVE_UTMPX_H', have_utmpx_header)
conf.set('HAVE_POSIX_GETPWNAM_R', have_posix_getpwnam_r)
--
2.49.0