mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 02:08:02 +02:00
Merge branch 'audit-build-fix' into 'main'
build: check for audit support before adding AmbientCapabilities feature See merge request dbus/dbus!521
This commit is contained in:
commit
7d921c3544
1 changed files with 3 additions and 1 deletions
|
|
@ -574,7 +574,9 @@ else
|
|||
error('libaudit support requested but not found')
|
||||
endif
|
||||
# For the systemd system unit
|
||||
data_config.set('AMBIENT_CAPS', 'AmbientCapabilities=CAP_AUDIT_WRITE')
|
||||
if have_libaudit
|
||||
data_config.set('AMBIENT_CAPS', 'AmbientCapabilities=CAP_AUDIT_WRITE')
|
||||
endif
|
||||
endif
|
||||
config.set('HAVE_LIBAUDIT', have_libaudit)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue