fix time64 link regression of dlsym stub for static-linked programs
[musl] / src / ldso / __dlsym.c
index 8ac0a33..0384f97 100644 (file)
@@ -8,3 +8,7 @@ static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict
 }
 
 weak_alias(stub_dlsym, __dlsym);
+
+#if _REDIR_TIME64
+weak_alias(stub_dlsym, __dlsym_redir_time64);
+#endif