branch master updated: ltmain: correct fallout from freebsd-elf changes

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

vapier pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new 31d9133b ltmain: correct fallout from freebsd-elf changes
31d9133b is described below

commit 31d9133b4ce8d0de1445219b1f85ae8e0c6f5d1a
Author: Tim Rice <[email protected]>
AuthorDate: Sun Jun 18 19:43:49 2017 -0700

    ltmain: correct fallout from freebsd-elf changes
    
    Here is a small patch to correct builds on svr5.
    When the freebsd-elf target was changed, this got missed.
    
    Symptoms were, building newer lib ended up with libfoo.nn a lower number
    than the previous version.  And building libpng-1.6.29 produced:
    libtool:   error: CURRENT '' must be a nonnegative integer
    libtool:   error: '16:29:0' is not valid version information
    
    * build-aux/ltmain.in (func_mode_link): Add sco.
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 830b3982..9f473959 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6956,7 +6956,7 @@ func_mode_link ()
 	    age=$number_minor
 	    revision=$number_revision
 	    ;;
-	  freebsd-aout|qnx|sunos)
+	  freebsd-aout|qnx|sco|sunos)
 	    current=$number_major
 	    revision=$number_minor
 	    age=0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.