summaryrefslogtreecommitdiff
path: root/src/ldso/dlopen.c
blob: 6b1d792a3abb5519957733dc4bab188eb31ecfef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <dlfcn.h>
#include "libc.h"

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);