aboutsummaryrefslogtreecommitdiff
path: root/system/unrar/unrar-5.5.5-soname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/unrar/unrar-5.5.5-soname.patch')
-rw-r--r--system/unrar/unrar-5.5.5-soname.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/unrar/unrar-5.5.5-soname.patch b/system/unrar/unrar-5.5.5-soname.patch
new file mode 100644
index 0000000000000..f0b5dbbd9fbdb
--- /dev/null
+++ b/system/unrar/unrar-5.5.5-soname.patch
@@ -0,0 +1,11 @@
+--- 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: