slackbuilds_ponce/system/unrar/unrar-5.5.5-soname.patch

12 lines
457 B
Diff
Raw Normal View History

--- 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: