--- lib/Makefile 2012-05-03 21:11:04.000000000 +0400 +++ lib/Makefile 2012-05-03 21:10:47.000000000 +0400 @@ -2,6 +2,7 @@ LIBPLOOP=libploop.a LIBPLOOP_DYN = libploop.so +SONAME = $(LIBPLOOP_DYN).0 LIBOBJS=uuid.o \ delta_read.o \ delta_sysfs.o \ @@ -36,7 +37,7 @@ $(LIBPLOOP_DYN): $(LIBOBJS) $(E) " LINK " $@ - $(Q) $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared $^ ${LDLIBS} -o $@ + $(Q) $(CC) $(CFLAGS) $(INC) $(LDFLAGS) -shared $^ ${LDLIBS} -o $@ -Wl,-soname,$(SONAME) .depend: $(SOURCES) -include .depend