--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -232,7 +232,7 @@
     'include' : {},
     'unix' : {},
   }
-  if have_rtld_next and glib_build_shared
+  if false
     getpwuid_preload = shared_library('getpwuid-preload',
                                       'getpwuid-preload.c',
                                       name_prefix : '',
