Change dylib file name to libkvazaar.X.dylib.

Changes the version number in the dylib filename from a three-digit
version (libkvazaar.X.Y.Z.dylib) to a single-digit one
(libkvazaar.X.dylib).
This commit is contained in:
Arttu Ylä-Outinen 2015-07-20 14:49:25 +03:00
parent df749e032e
commit 06ea593477

View file

@ -20,7 +20,7 @@ TESTS = kvazaar_tests
NAME = libkvazaar
SO = $(NAME).so
LIB = $(SO).$(VER_MAJOR).$(VER_MINOR).$(VER_RELEASE)
DYLIB = $(NAME).$(VER_MAJOR).$(VER_MINOR).$(VER_RELEASE).dylib
DYLIB = $(NAME).$(VER_MAJOR).dylib
DLL = kvazaar.dll
IMPLIB = libkvazaar.dll.a
INC = kvazaar.h \
@ -273,7 +273,6 @@ install-dylib: $(DYLIB)
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL) -m644 $(INC) $(DESTDIR)$(INCDIR)
$(INSTALL) -m644 $(DYLIB) $(DESTDIR)$(LIBDIR)
$(LN_S) -f $(DYLIB) $(DESTDIR)$(LIBDIR)/$(NAME).$(VER_MAJOR).dylib
$(LN_S) -f $(DYLIB) $(DESTDIR)$(LIBDIR)/$(NAME).dylib
install-dll: $(DLL)