aboutsummaryrefslogtreecommitdiff
path: root/src/ldso/dlopen.c
blob: 74e6663e1282631196226ed5dd7e1c9d1bdcc4d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <dlfcn.h>
#include "dynlink.h"

static void *stub_dlopen(const char *file, int mode)
{
	__dl_seterr("Dynamic loading not supported");
	return 0;
}

weak_alias(stub_dlopen, dlopen);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif