mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 04:48:02 +02:00
meson: only run the selinux restore script on meson < 0.43
Meson handles this now, see meson commits 1826872 and follow-up c63aa037. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
69fe467fba
commit
e428e5e87a
1 changed files with 7 additions and 5 deletions
12
meson.build
12
meson.build
|
|
@ -245,11 +245,13 @@ git_version_h = vcs_tag(command : ['git', 'describe'],
|
||||||
input : 'src/libinput-git-version.h.in',
|
input : 'src/libinput-git-version.h.in',
|
||||||
output :'libinput-git-version.h')
|
output :'libinput-git-version.h')
|
||||||
|
|
||||||
# Restore the SELinux context for the libinput.so.a.b.c on install
|
if meson.version().version_compare('<0.4.3.0')
|
||||||
# meson bug https://github.com/mesonbuild/meson/issues/1967
|
# Restore the SELinux context for the libinput.so.a.b.c on install
|
||||||
meson.add_install_script('src/libinput-restore-selinux-context.sh',
|
# meson bug https://github.com/mesonbuild/meson/issues/1967
|
||||||
join_paths(get_option('prefix'), get_option('libdir')),
|
meson.add_install_script('src/libinput-restore-selinux-context.sh',
|
||||||
lib_libinput.full_path())
|
join_paths(get_option('prefix'), get_option('libdir')),
|
||||||
|
lib_libinput.full_path())
|
||||||
|
endif
|
||||||
|
|
||||||
############ documentation ############
|
############ documentation ############
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue