slackbuilds_ponce/system/unrar/unrar-5.5.5-soname.patch
Mario Preksavec 67641604a9 system/unrar: Updated for version 5.5.5.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
2017-06-24 08:32:07 +07:00

11 lines
457 B
Diff

--- unrar/makefile.orig 2017-06-13 13:04:49.000000000 +0200
+++ unrar/makefile 2017-06-23 20:29:54.138415405 +0200
@@ -156,7 +156,7 @@
lib: clean $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.so
@rm -f libunrar.a
- $(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: