mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 11:58:05 +02:00
meson: don't build xselinux if xace is disabled
xselinux requires xace to build Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (cherry picked from commit7b15321b3b) (cherry picked from commitf468122d8d) Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2151>
This commit is contained in:
parent
caec464d67
commit
1d6857db53
1 changed files with 5 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ if get_option('xselinux') != 'false'
|
|||
if get_option('xselinux') == 'true'
|
||||
build_xselinux = true
|
||||
else
|
||||
build_xselinux = dep_selinux.found() and dep_audit.found()
|
||||
build_xselinux = dep_selinux.found() and dep_audit.found() and build_xace
|
||||
endif
|
||||
|
||||
if build_xselinux
|
||||
|
|
@ -460,6 +460,10 @@ if get_option('xselinux') != 'false'
|
|||
common_dep += dep_audit
|
||||
endif
|
||||
endif
|
||||
if build_xselinux and not build_xace
|
||||
error('cannot build SELinux extension without X-ACE')
|
||||
endif
|
||||
|
||||
|
||||
socket_dep = []
|
||||
if host_machine.system() == 'windows'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue