From b562431327bbd3a1dc60cd3ae03e4fb64fc348ca Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 25 Aug 2025 10:08:19 +0200 Subject: [PATCH] Weak link confstr I think it would be useful if this did not say that it Emscripten is "glibc 2.14". If it's weak linked, I can easily replace the function and make it say something else. --- system/lib/libc/musl/src/conf/confstr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system/lib/libc/musl/src/conf/confstr.c b/system/lib/libc/musl/src/conf/confstr.c index 9c12d365babf2..3a89c6e5ac9d5 100644 --- a/system/lib/libc/musl/src/conf/confstr.c +++ b/system/lib/libc/musl/src/conf/confstr.c @@ -2,6 +2,7 @@ #include #include +__attribute__((weak)) size_t confstr(int name, char *buf, size_t len) { const char *s = "";