diff --git a/Makefile b/Makefile index a813cdfea..9ae4e5407 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,6 @@ VER_MAJOR := 1 VER_MINOR := 1 VER_PATCH := 0 -# Soname ABI version -VER_ABI := 1 - PROJECT := re VERSION := $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) @@ -52,7 +49,8 @@ CFLAGS += -Iinclude MODMKS := $(patsubst %,src/%/mod.mk,$(MODULES)) SHARED := libre$(LIB_SUFFIX) -SHARED_SONAME := libre$(LIB_SUFFIX).$(VER_ABI) +SHARED_SONAME := libre$(LIB_SUFFIX).$(VER_MAJOR) +SHARED_FILE := libre$(LIB_SUFFIX).$(VERSION) STATIC := libre.a ifeq ($(OS),linux) @@ -118,8 +116,8 @@ install: $(SHARED) $(STATIC) libre.pc $(INSTALL) -m 0644 $(shell find include -name "*.h") \ $(DESTDIR)$(INCDIR) ifeq ($(OS),linux) - $(INSTALL) -m 0755 $(SHARED) $(DESTDIR)$(LIBDIR)/$(SHARED_SONAME) - cd $(DESTDIR)$(LIBDIR) && ln -sf $(SHARED_SONAME) $(SHARED) + $(INSTALL) -m 0755 $(SHARED) $(DESTDIR)$(LIBDIR)/$(SHARED_FILE) + cd $(DESTDIR)$(LIBDIR) && ln -sf $(SHARED_FILE) $(SHARED) else $(INSTALL) -m 0755 $(SHARED) $(DESTDIR)$(LIBDIR) endif