libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect library version string for 1.4 branch under IRIX


From: Albert Chin
Subject: Re: incorrect library version string for 1.4 branch under IRIX
Date: Thu, 28 Feb 2002 11:34:28 -0600
User-agent: Mutt/1.2.5i

On Mon, Feb 25, 2002 at 12:44:41AM -0600, Albert Chin wrote:
> The string used as the argument to -set_version on IRIX is incorrect.
> Because major is set after verstring and because verstring uses $major
> to compute the version string, the string is always sgi.# rather than
> sgi#.#. The fix is simple.

And here's a patch for HEAD.

2002-02-28  Albert Chin-A-Young  <address@hidden>

        * ltmain.in: Fix version string under IRIX.

-- 
albert chin (address@hidden)

-- snip snip
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.287
diff -u -3 -p -r1.287 ltmain.in
--- ltmain.in   7 Feb 2002 19:54:36 -0000       1.287
+++ ltmain.in   28 Feb 2002 17:33:02 -0000
@@ -2660,13 +2660,13 @@ EOF
          ;;
 
        irix | nonstopux)
+         major=`expr $current - $age + 1`
+
          case $version_type in
            nonstopux) verstring_prefix=nonstopux ;;
            *)         verstring_prefix=sgi ;;
          esac
          verstring="$verstring_prefix$major.$revision"
-
-         major=`expr $current - $age + 1`
 
          # Add in all the interfaces that we are compatible with.
          loop=$revision



reply via email to

[Prev in Thread] Current Thread [Next in Thread]