bzip2: fix soname error

This commit is contained in:
kurth4cker committed 2022-11-15 18:00:40 +03:00
1 parent 75a031fd2e
commit f655929419
2 files changed
+20 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
diff --git a/Makefile b/Makefile
index fb0f230..3c101bd 100644
--- a/Makefile
+++ b/Makefile
@@ -35,10 +35,8 @@ OBJS= blocksort.o \
bzlib.o
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
+ $(CC) -shared -o libbz2.so.1.0.8 $(OBJS)
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.8
- rm -f libbz2.so.1.0
- ln -s libbz2.so.1.0.8 libbz2.so.1.0
clean:
rm -f $(OBJS) bzip2.o libbz2.so.1.0.8 libbz2.so.1.0 bzip2-shared