mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-06 10:09:16 +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
240e4ec762
1 changed files with 3 additions and 1 deletions
|
|
@ -610,7 +610,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