[Mesa-dev] [PATCH mesa] meson: wire up selinux
Eric Engestrom
eric.engestrom at imgtec.com
Thu Oct 26 15:23:06 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
build-tested only
---
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 485889590041545c4de0..738ebc510ace26fd7917 100644
--- a/meson.build
+++ b/meson.build
@@ -697,8 +697,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
--
Cheers,
Eric
More information about the mesa-dev
mailing list