testDynamicLoader: Use LIBC_SO if LIBDL_SO is not defined by glibc anymore.
LIBC_SO
is a more long-term choice, suitable for new targets that may
no longer define LIBDL_SO
.
This is a follow-up fix to the previous commit as outlined by: cmake/cmake#22321 (comment 976907)
Signed-off-by: Björn Esser besser82@fedoraproject.org
Topic-rename: DynamicLoader-glibc-libdl
Edited by Brad King