]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
ltmain: correct fallout from freebsd-elf changes
authorTim Rice <tim@multitalents.net>
Mon, 19 Jun 2017 02:43:49 +0000 (19:43 -0700)
committerMike Frysinger <vapier@gentoo.org>
Wed, 17 Jan 2024 19:45:30 +0000 (14:45 -0500)
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

index 830b39827f78e33545a7a00202e0fd1a61211591..9f473959c1d6d367c179e034a4aa488638991b40 100644 (file)
@@ -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