aboutsummaryrefslogtreecommitdiff
path: root/system/unrar/unrar-5.5.5-soname.patch
blob: f0b5dbbd9fbdb4e0bbb33035406a058dc58a2862 (plain)
1
2
3
4
5
6
7
8
9
10
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: