summaryrefslogtreecommitdiffstats
path: root/abs/extra/unrar/unrar-4.2.1-soname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/unrar/unrar-4.2.1-soname.patch')
-rw-r--r--abs/extra/unrar/unrar-4.2.1-soname.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/unrar/unrar-4.2.1-soname.patch b/abs/extra/unrar/unrar-4.2.1-soname.patch
new file mode 100644
index 0000000..83ebe96
--- /dev/null
+++ b/abs/extra/unrar/unrar-4.2.1-soname.patch
@@ -0,0 +1,11 @@
+--- makefile.unix 2012-02-23 10:23:14.000000000 +0100
++++ makefile.unix 2012-05-05 12:58:13.000000000 +0200
+@@ -131,7 +131,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