blob: dcdb439847d939bfc2c6a2d5a37e3e588876eca3 [file] [log] [blame]
Rich Felker14469372016-01-25 18:58:06 -05001#include <dlfcn.h>
2#include "libc.h"
3
4__attribute__((__visibility__("hidden")))
5void __dl_seterr(const char *, ...);
6
7static void *stub_dlopen(const char *file, int mode)
8{
9 __dl_seterr("Dynamic loading not supported");
10 return 0;
11}
12
13weak_alias(stub_dlopen, dlopen);