[original post:
https://lists.gnu.org/archive/html/libtool-patches/2017-06/msg00000.html]
With all the flurry of commits I'm hoping this gets included.
[And gives me a chance to correct all the embarrassing typos
in the body of the original message]
Thanks.
On Sun, 18 Jun 2017, Tim Rice wrote:
>
> 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
>
> Patch attached and inline here.
>
> diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
> index bbc7643..d3ee94f 100644
> --- a/build-aux/ltmain.in
> +++ b/build-aux/ltmain.in
> @@ -6919,7 +6919,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
>
>
--
Tim Rice Multitalents
[email protected]
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index bbc7643..d3ee94f 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6919,7 +6919,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