1570af302Sopenharmony_ci#include <dlfcn.h>
2570af302Sopenharmony_ci#include "dynlink.h"
3570af302Sopenharmony_ci
4570af302Sopenharmony_cistatic void *stub_dlopen(const char *file, int mode)
5570af302Sopenharmony_ci{
6570af302Sopenharmony_ci	__dl_seterr("Dynamic loading not supported");
7570af302Sopenharmony_ci	return 0;
8570af302Sopenharmony_ci}
9570af302Sopenharmony_ci
10570af302Sopenharmony_ciweak_alias(stub_dlopen, dlopen);
11