musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ldso/dynlink.c 11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 28b86bf7..057a4cd3 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
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月18日 01:35:51 +0000

AltStyle によって変換されたページ (->オリジナル) /