1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* * This file creates a dummy version of dynamic loading * for environments where dynamic linking * is not used or available. */ #include <string.h> #include "dlfcn.h" void *_dlsym(const char *sym) { #include "static-syms.h" return NULL; }