mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
meson: wire up selinux
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
866c8a94d4
commit
4b9421d45d
@ -694,8 +694,11 @@ endif
|
||||
prog_bison = find_program('bison', required : with_any_opengl)
|
||||
prog_flex = find_program('flex', required : with_any_opengl)
|
||||
|
||||
# TODO: selinux
|
||||
dep_selinux = []
|
||||
if get_option('selinux')
|
||||
dep_selinux = dependency('libselinux')
|
||||
pre_args += '-DMESA_SELINUX'
|
||||
endif
|
||||
|
||||
# TODO: llvm-prefix and llvm-shared-libs
|
||||
|
||||
|
@ -160,3 +160,9 @@ option(
|
||||
value : false,
|
||||
description : 'Enable floating point textures and renderbuffers. This option may be patent encumbered, please read docs/patents.txt and consult with your lawyer before turning this on.'
|
||||
)
|
||||
option(
|
||||
'selinux',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Build an SELinux-aware Mesa'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user