mirror of https://git.musl-libc.org/git/musl
2 changed files with 13 additions and 5 deletions
@ -0,0 +1,13 @@ |
|||
#include <dlfcn.h> |
|||
#include "libc.h" |
|||
|
|||
__attribute__((__visibility__("hidden"))) |
|||
void __dl_seterr(const char *, ...); |
|||
|
|||
static void *stub_dlopen(const char *file, int mode) |
|||
{ |
|||
__dl_seterr("Dynamic loading not supported"); |
|||
return 0; |
|||
} |
|||
|
|||
weak_alias(stub_dlopen, dlopen); |
|||
Loading…
Reference in new issue