summaryrefslogtreecommitdiffstats
path: root/abs/extra/unrar/unrar-5.2.2-soname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/unrar/unrar-5.2.2-soname.patch')
-rw-r--r--abs/extra/unrar/unrar-5.2.2-soname.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/unrar/unrar-5.2.2-soname.patch b/abs/extra/unrar/unrar-5.2.2-soname.patch
new file mode 100644
index 0000000..24d250a
--- /dev/null
+++ b/abs/extra/unrar/unrar-5.2.2-soname.patch
@@ -0,0 +1,11 @@
+--- a/makefile 2013-04-29 16:27:05.000000000 +0200
++++ b/makefile 2013-10-01 22:07:29.611485989 +0200
+@@ -133,7 +133,7 @@
+ lib: CXXFLAGS+=$(LIBFLAGS)
+ lib: clean $(OBJECTS) $(LIB_OBJ)
+ @rm -f libunrar.so
+- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+
+ install-unrar:
+ install -D unrar $(DESTDIR)/bin/unrar