[glib: 2/5] build-sys: bump libselinux requirement to >=2.2
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/5] build-sys: bump libselinux requirement to >=2.2
- Date: Thu, 3 Dec 2020 13:47:50 +0000 (UTC)
commit 7bd1e09c4243db605e0c83c0f7382628e671004e
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Tue Dec 1 13:08:30 2020 +0400
build-sys: bump libselinux requirement to >=2.2
The function declaration we use changed a bit since then.
In particular, some arguments became const. See following commit.
libselinux-2.2 was released on 20131030, and is widely available in
all major stable distributions.
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index ad7f887fb..37f8f347a 100644
--- a/meson.build
+++ b/meson.build
@@ -2063,7 +2063,7 @@ endif
selinux_dep = []
if host_system == 'linux'
- selinux_dep = dependency('libselinux', required: get_option('selinux'))
+ selinux_dep = dependency('libselinux', version: '>=2.2', required: get_option('selinux'))
glib_conf.set('HAVE_SELINUX', selinux_dep.found())
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]