mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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>
This commit is contained in:
parent
20e23c701c
commit
7bd1e09c42
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user