From 304b806cb524fb040f8e09a241040f1af2cb820b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 3 Feb 2013 15:03:08 +0100 Subject: [PATCH] build: Make library minor version visible in the Makefile This allows employing that number in library install commands. --- configure | 1 + library.mak | 1 + 2 files changed, 2 insertions(+) diff --git a/configure b/configure index 0d55bba42b..0731c27ec9 100755 --- a/configure +++ b/configure @@ -3958,6 +3958,7 @@ get_version(){ eval ${name}_VERSION=\$${name}_VERSION_MAJOR.\$${name}_VERSION_MINOR.\$${name}_VERSION_MICRO eval echo "${lcname}_VERSION=\$${name}_VERSION" >> config.mak eval echo "${lcname}_VERSION_MAJOR=\$${name}_VERSION_MAJOR" >> config.mak + eval echo "${lcname}_VERSION_MINOR=\$${name}_VERSION_MINOR" >> config.mak } map 'get_version $v' $LIBRARY_LIST diff --git a/library.mak b/library.mak index 3b4bd2d161..f3e44273f7 100644 --- a/library.mak +++ b/library.mak @@ -4,6 +4,7 @@ include $(SRC_PATH)/common.mak LIBVERSION := $(lib$(NAME)_VERSION) LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR) +LIBMINOR := $(lib$(NAME)_VERSION_MINOR) INCINSTDIR := $(INCDIR)/lib$(NAME) INSTHEADERS := $(INSTHEADERS) $(HEADERS:%=$(SUBDIR)%)