Skip to content

testDynamicLoader: Use LIBDL_SO macro if defined.

Björn Esser requested to merge besser82/kwsys:topic/besser82/glibc_libdl into master

Starting with glibc v2.34 there is no external version of anymore. It has been merged into the glibc

Assuming will be present will break the test, thus the LIBDL_SO macro should be used. If the macro is not defined on the system, we ensure it will be defined using the previously hardcoded value.

See cmake/cmake#22321 (closed) for further reference.

Topic-rename: DynamicLoader-glibc-libdl

Edited by Brad King

Merge request reports