core/unrar/unrar-5.3.4-soname.patch

12 lines
442 B
Diff
Raw Normal View History

2015-12-15 15:32:25 +08:00
--- a/makefile 2013-04-29 16:27:05.000000000 +0200
+++ b/makefile 2013-10-01 22:07:29.611485989 +0200
2017-05-10 07:12:45 +08:00
@@ -146,7 +146,7 @@
2015-12-15 15:32:25 +08:00
lib: clean $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.so
2017-05-10 07:12:45 +08:00
@rm -f libunrar.a
2015-12-15 15:32:25 +08:00
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
2017-05-10 07:12:45 +08:00
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
2015-12-15 15:32:25 +08:00
install-unrar: