Skip to content
Snippets Groups Projects
Commit 2db27879 authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Don't check for libselinux


Now that we're using bubblewrap as a proper subproject and not just
`#include`'ing it into our own source, it can and does check for this
itself.

Fixes: bcfe4ea1 "build: Build pv-bwrap as a real Meson subproject"
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent bcf6301d
No related branches found
No related tags found
1 merge request!794Build system simplifications
......@@ -223,11 +223,6 @@ add_project_link_arguments(
language : 'c',
)
libselinux_dep = dependency(
'libselinux',
version : '>= 2.1.9',
required : false,
)
libcap_dep = dependency(
'libcap',
required : false,
......@@ -246,11 +241,6 @@ waffle_dep = dependency(
conf_data = configuration_data()
conf_data.set_quoted('VERSION', version)
conf_data.set('HAVE_SELINUX', libselinux_dep.found())
conf_data.set(
'HAVE_SELINUX_2_3',
libselinux_dep.found() and libselinux_dep.version().version_compare('>=2.3'),
)
conf_data.set('api_major', api_major)
conf_data.set('abi_major', abi_major)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment