git: 57ddfad884a0 - main - lib/libc: version auxiliary libsys.so

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 07 Feb 2024 00:47:12 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=57ddfad884a0c490e462b78634f2582e6b07dc9a

commit 57ddfad884a0c490e462b78634f2582e6b07dc9a
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-02-07 00:46:38 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-02-07 00:47:04 +0000

    lib/libc: version auxiliary libsys.so
    
    We need to use libsys.so.7 so that we can work without /usr and because
    we're bound a specific ABI.
    
    Reported by:    jtrc27, kib
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D43772
---
 lib/libc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 7c728ffe6443..41cf0f6de72a 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -64,7 +64,7 @@ LDFLAGS+= -nodefaultlibs
 LIBADD+=	compiler_rt
 LIBADD+=	sys
 
-LDFLAGS+=-Wl,--auxiliary,libsys.so
+LDFLAGS+=-Wl,--auxiliary,libsys.so.7
 
 .if ${MK_SSP} != "no" && \
     (${LIBC_ARCH} == "i386" || ${LIBC_ARCH:Mpowerpc*} != "")