You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "Roy T. Fielding" <fi...@apache.org> on 2002/08/16 07:27:39 UTC

Re: cvs commit: apr/build get-version.sh

On Wednesday, August 14, 2002, at 10:34  PM, gstein@apache.org wrote:
>    if test "$1" = "all"; then
>      echo ${major}.${minor}.${patch}
>    elif test "$1" = "major"; then
>      echo ${major}
>   +elif test "$1" = "libtool"; then
>   +  echo ${minor}:${patch}:${minor}

I don't think that's what you meant to do.  Paste-o on major?

....Roy


Re: cvs commit: apr/build get-version.sh

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Aug 15, 2002 at 10:27:39PM -0700, Roy T. Fielding wrote:
> On Wednesday, August 14, 2002, at 10:34  PM, gstein@apache.org wrote:
> >    if test "$1" = "all"; then
> >      echo ${major}.${minor}.${patch}
> >    elif test "$1" = "major"; then
> >      echo ${major}
> >   +elif test "$1" = "libtool"; then
> >   +  echo ${minor}:${patch}:${minor}
> 
> I don't think that's what you meant to do.  Paste-o on major?

Actually, it was intended. The major version goes into the library *name*
rather than the soname stuff. The above pattern ensures that the resulting
library will be named: libapr-{major}.so.0.{minor}.{patch}

I'll add a comment explaining the situation, so people won't "correct" the
code :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/