From 911807284d17547c66619b7fdbfb8adce81974d8 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 5 Nov 2013 11:28:32 +0100 Subject: [PATCH] bump_version script also handled SOVERSION for library/Makefile --- scripts/bump_version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index 1e3bcea54..167d0004e 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -54,6 +54,10 @@ then [ $VERBOSE ] && echo "Bumping SOVERSION in library/CMakeLists.txt" sed -e "s/ SOVERSION [0-9]\+/ SOVERSION $SOVERSION/g" < library/CMakeLists.txt > tmp mv tmp library/CMakeLists.txt + + [ $VERBOSE ] && echo "Bumping SOVERSION in library/Makefile" + sed -e "s/SONAME=libpolarssl.so.[0-9]\+/SONAME=libpolarssl.so.$SOVERSION/g" -e "s/DLEXT=so.[0-9]\+/DLEXT=so.$SOVERSION/g" < library/Makefile > tmp + mv tmp library/Makefile fi [ $VERBOSE ] && echo "Bumping VERSION in include/polarssl/version.h"