gnu: glib: Disable SELinux support.

It was added mainly because the build system previously could not cope with
SELinux being missing.

* gnu/packages/glib.scm (glib)[propagated-inputs]: Remove LIBSELINUX.
[arguments]: Add #:configure-flags.
This commit is contained in:
Marius Bakke 2020-12-16 00:38:39 +01:00
parent bca05d0709
commit 77577c03aa
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -60,7 +60,6 @@ (define-module (gnu packages glib)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages selinux)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
@ -198,7 +197,6 @@ (define glib
("libffi" ,libffi) ; in the Requires.private field of gobject-2.0.pc
;; These are in the Requires.private field of gio-2.0.pc
("util-linux" ,util-linux "lib") ;for libmount
("libselinux" ,libselinux)
("zlib" ,zlib)))
(native-inputs
`(("gettext" ,gettext-minimal)
@ -210,6 +208,7 @@ (define glib
("tzdata" ,tzdata-for-tests))) ; for tests/gdatetime.c
(arguments
`(#:disallowed-references (,tzdata-for-tests)
#:configure-flags '("-Dselinux=disabled")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-dbus-launch-path