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.
This commit is contained in:
Christoph Reiter 2023-03-12 12:29:03 +01:00
parent ed256d6447
commit 94fd305dbd

View File

@ -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,