| Index: fusl/src/ldso/dlopen.c
|
| diff --git a/fusl/src/ldso/dlopen.c b/fusl/src/ldso/dlopen.c
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dcdb439847d939bfc2c6a2d5a37e3e588876eca3
|
| --- /dev/null
|
| +++ b/fusl/src/ldso/dlopen.c
|
| @@ -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);
|
|
|