1#include <dlfcn.h> 2#include "dynlink.h" 3 4static void *stub_dlopen(const char *file, int mode) 5{ 6 __dl_seterr("Dynamic loading not supported"); 7 return 0; 8} 9 10weak_alias(stub_dlopen, dlopen);