aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-03 15:03:08 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-11 20:17:15 +0100
commit304b806cb524fb040f8e09a241040f1af2cb820b (patch)
tree74a8eeaaec11f3b624832d27be4f9c11a77b6c9c
parentb3f2a3fe3fe4e2a752fa2ef26d1e39d51f30cc52 (diff)
downloadffmpeg-304b806cb524fb040f8e09a241040f1af2cb820b.tar.gz
build: Make library minor version visible in the Makefile
This allows employing that number in library install commands.
-rwxr-xr-xconfigure1
-rw-r--r--library.mak1
2 files changed, 2 insertions, 0 deletions
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)%)