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