bump_version script also handled SOVERSION for library/Makefile
diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh
index 1e3bcea..167d000 100755
--- a/scripts/bump_version.sh
+++ b/scripts/bump_version.sh
@@ -54,6 +54,10 @@
[ $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"