libtool-patches
[Top][All Lists]
Advanced

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

incorrect library version string for 1.4 branch under IRIX


From: Albert Chin
Subject: incorrect library version string for 1.4 branch under IRIX
Date: Mon, 25 Feb 2002 00:44:41 -0600
User-agent: Mutt/1.2.5i

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.

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

        * 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.259.2.18
diff -u -3 -p -r1.259.2.18 ltmain.in
--- ltmain.in   2 Feb 2002 00:17:12 -0000       1.259.2.18
+++ ltmain.in   25 Feb 2002 06:09:17 -0000
@@ -2287,13 +2287,13 @@ compiler."
          ;;
 
        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]