slackbuilds_ponce/system/unrar/unrar-6.1.7-soname.patch
Matteo Bernardini 2e3981c347
system/unrar: Updated for version 6.1.7.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-07-02 09:55:43 +07:00

12 lines
510 B
Diff

diff -Naur unrar.orig/makefile unrar/makefile
--- unrar.orig/makefile 2022-02-22 11:43:06.000000000 +0100
+++ unrar/makefile 2022-06-29 15:30:41.787420000 +0200
@@ -157,7 +157,7 @@
lib: CXXFLAGS+=$(LIBFLAGS)
lib: clean $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.*
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
install-unrar: