comparison test/dynload_plain/dynload_plain.c @ 254:9d70178c1ded

- better cpp checking whether dlinfo() is available, to also cover GLIBC based systems that don't identify as Linux (e.g. debian/k*BSD)
author Tassilo Philipp
date Mon, 15 May 2017 13:06:04 +0200
parents ab23f9f2934a
children a94a9a83dae6
comparison
equal deleted inserted replaced
253:5cfe4322c500 254:9d70178c1ded
43 DLLib* pLib; 43 DLLib* pLib;
44 DLSyms* pSyms; 44 DLSyms* pSyms;
45 const char* path = NULL; 45 const char* path = NULL;
46 const char* clibs[] = { /* hacky/lazy list of some clib paths per platform */ 46 const char* clibs[] = { /* hacky/lazy list of some clib paths per platform */
47 "/lib/libc.so", 47 "/lib/libc.so",
48 "/lib/libc.so.0.1",
48 "/lib/libc.so.6", 49 "/lib/libc.so.6",
49 "/lib/libc.so.7", 50 "/lib/libc.so.7",
50 "/lib64/libc.so", 51 "/lib64/libc.so",
51 "/lib64/libc.so.6", 52 "/lib64/libc.so.6",
52 "/lib64/libc.so.7", 53 "/lib64/libc.so.7",