blob: ecb478994a55c1eb265497cb9f0e7bc7613b37a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <string.h>
#include <dlfcn.h>
int main() {
void *h;
/* Try loading anything, we don't care if it works */
h = dlopen("__nothing_rdkafka.so", RTLD_NOW | RTLD_LOCAL);
if (h)
dlclose(h);
return 0;
}
|