summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2023-03-12 12:29:03 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2023-03-12 12:29:03 +0100
commit94fd305dbd049261a3050aaf7c9877abeef5bcfb (patch)
tree1f9acc9178ad6fc59ff32cd21bbdbafe13a8f827
parented256d6447a2dc46e5dbf37ee913fbe6b901fb88 (diff)
downloadglib-94fd305dbd049261a3050aaf7c9877abeef5bcfb.tar.gz
tests: only build messages-low-memory if RTLD_NEXT is available
This fixes the build under cygwin which doesn't have RTLD_NEXT. Use the existing have_rtld_next to skip the test program in that case.
-rw-r--r--glib/tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 9919a94a9..a90051076 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -288,7 +288,7 @@ test_extra_programs = {
'test-spawn-echo' : {},
}
-if have_dlopen_dlsym
+if have_dlopen_dlsym and have_rtld_next
test_extra_programs += {
'messages-low-memory' : {
'dependencies' : libdl_dep,