summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index fe57bc83b6..d27fd86b19 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -73,6 +73,8 @@ class Glib(AutotoolsPackage):
os.path.basename(self.spec['python'].command.path))
)
args.extend(self.enable_or_disable('tracing'))
+ # SELinux is not available in Spack, so glib should not use it.
+ args.append('--disable-selinux')
# glib should not use the globally installed gtk-doc. Otherwise,
# gtk-doc can fail with Python errors such as "ImportError: No module
# named site". This is due to the fact that Spack sets PYTHONHOME,