logo

error-standalone

standalone <error.h> implementation intended for muslgit clone https://anongit.hacktivis.me/git/error-standalone.git/
commit: eb4246076876006d37c701cf570a2126165a9d8a
parent 0087143780f4b792c4b2288762984156d8c48c96
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 14 Dec 2024 06:51:43 +0100

Makefile: set soname to liberror.so

Diffstat:

MMakefile2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -16,7 +16,7 @@ test-error: test-error.c error.o ${CC} ${CFLAGS} -o test-error test-error.c error.o ${LDFLAGS} ${LDSTATIC} liberror.so: error.o - ${CC} ${CFLAGS} -shared -o liberror.so error.o ${LDFLAGS} + ${CC} ${CFLAGS} -shared -Wl,-soname=liberror.so -o liberror.so error.o ${LDFLAGS} liberror.a: error.o ${AR} rc liberror.a error.o