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