diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-03 15:03:08 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-02-11 20:17:15 +0100 |
commit | 304b806cb524fb040f8e09a241040f1af2cb820b (patch) | |
tree | 74a8eeaaec11f3b624832d27be4f9c11a77b6c9c | |
parent | b3f2a3fe3fe4e2a752fa2ef26d1e39d51f30cc52 (diff) | |
download | ffmpeg-304b806cb524fb040f8e09a241040f1af2cb820b.tar.gz |
build: Make library minor version visible in the Makefile
This allows employing that number in library install commands.
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | library.mak | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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)%) |