diff options
author | Eric Engestrom <[email protected]> | 2017-10-26 16:19:41 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-10-27 11:57:03 +0100 |
commit | 4b9421d45da41955947f4c75be033ec1bc1d18f5 (patch) | |
tree | 0790bc00d2b099901eeb7012c98e1715799249c3 /meson.build | |
parent | 866c8a94d45fd88ea1e3a49c00a0ee5e589e4577 (diff) |
meson: wire up selinux
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 1da1bb06798..49a0ef6d405 100644 --- a/meson.build +++ b/meson.build @@ -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 |