Permalink
Browse files

Fix for issue #121

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information...
1 parent 1c730d3 commit abf65fa14bb68e91fad2030138ee7216fa705576 @sustrik sustrik committed Aug 27, 2013
Showing with 9 additions and 2 deletions.
  1. +8 −1 abi_version.sh
  2. +1 −1 configure.ac
View
@@ -37,5 +37,12 @@ CURRENT=`echo $CURRENT | awk '{ print $3 }'`
REVISION=`echo $REVISION | awk '{ print $3 }'`
AGE=`echo $AGE | awk '{ print $3 }'`
-printf '%s' "$CURRENT.$REVISION.$AGE"
+case $1 in
+ -libtool)
+ printf '%s' "$CURRENT:$REVISION:$AGE"
+ ;;
+ *)
+ printf '%s' "$CURRENT.$REVISION.$AGE"
+ ;;
+esac
View
@@ -44,7 +44,7 @@ AC_PROG_AWK
NN_ABI_VERSION=m4_esyscmd([./abi_version.sh])
NN_PACKAGE_VERSION=m4_esyscmd([./package_version.sh])
-NN_LIBTOOL_VERSION=m4_esyscmd([./abi_version.sh | sed -e y/./:/])
+NN_LIBTOOL_VERSION=m4_esyscmd([./abi_version.sh -libtool])
AC_SUBST(NN_ABI_VERSION)
AC_SUBST(NN_PACKAGE_VERSION)

0 comments on commit abf65fa

Please sign in to comment.