diff --git a/shareddeps/security/glib2.xml b/shareddeps/security/glib2.xml
index c5dcb44297..e5d4e16295 100644
--- a/shareddeps/security/glib2.xml
+++ b/shareddeps/security/glib2.xml
@@ -74,9 +74,14 @@
Recommended
-
+
(if not built, Meson will try to fetch a tarball
of PCRE2 source code from the internet)
+
+
+ Optional
+
+ libxslt (for man-pages)
Additional Runtime Dependencies
@@ -142,6 +147,7 @@ meson setup .. \
-D introspection=disabled \
-D glib_debug=disabled \
-D man-pages=disabled \
+ -D tests=disabled \
-D sysprof=disabled &&
ninja
@@ -209,6 +215,7 @@ ninja
-D introspection=disabled \
-D glib_debug=disabled \
-D man-pages=disabled \
+ -D tests=disabled \
-D sysprof=disabled &&
ninja
@@ -235,6 +242,14 @@ ldconfig
build to create and install the package man pages.
+
+ -D tests=disabled: This switch causes tests
+ to be built. It is disabled because it is beyond the scope of GLFS.
+ If you'd like to test glib, reference
+
+ BLFS's glib page.
+
+
-D glib_debug=disabled: This switch causes the
build to not include some expensive checks for debugging in the built