diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 28b86bf761c81d3451494b164d07c87c3c2bcbf9..057a4cd33e6444cfbb362546b0808f0a3c62e7a0 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -674,6 +674,16 @@ void *__dlsym(void *p, const char *s, void *ra) pthread_rwlock_unlock(&lock); return res; } +#else +void *dlopen(const char *file, int mode) +{ + return 0; +} +void *__dlsym(void *p, const char *s, void *ra) +{ + return 0; +} +#endif char *dlerror() { @@ -684,4 +694,3 @@ int dlclose(void *p) { return 0; } -#endif