libr2.so: fix soname version (#6177)

Use LIBVERSION to generate soname of libr2.so, so that it honors --with-libversion.
This commit is contained in:
Sebastian Reichel 2016-11-11 18:44:37 +01:00 committed by radare
parent 7444c14a94
commit d1f5184f54

View File

@ -11,7 +11,7 @@ ifeq ($(OSTYPE),android)
LDFLAGS+=${DL_LIBS} -lm
endif
ifeq ($(OSTYPE),gnulinux)
LDFLAGS+=-Wl,-soname,libr2.${EXT_SO}.${VERSION}
LDFLAGS+=-Wl,-soname,libr2.${EXT_SO}.${LIBVERSION}
endif
include ../../libr/socket/deps.mk
include ../../shlr/zip/deps.mk