unrar-5.3.4-soname.patch 449 B

123456789101112
  1. --- a/makefile 2013-04-29 16:27:05.000000000 +0200
  2. +++ b/makefile 2013-10-01 22:07:29.611485989 +0200
  3. @@ -133,7 +133,7 @@
  4. lib: CXXFLAGS+=$(LIBFLAGS)
  5. lib: clean $(OBJECTS) $(LIB_OBJ)
  6. @rm -f libunrar.so
  7. - $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  8. + $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  9. install-unrar:
  10. install -D unrar $(DESTDIR)/bin/unrar