From cf78ba2b89dc72d1ca95a8aad9fcdb835f6f12a3 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 cee47e76e..1e2680b0b 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -53,6 +53,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"