libtool-commit
[Top][All Lists]
Advanced

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

branch master updated: ltmain.in: update QNX version_type handling


From: Ileana Dumitrescu
Subject: branch master updated: ltmain.in: update QNX version_type handling
Date: Mon, 25 Mar 2024 13:54:04 -0400

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new a956f5ce ltmain.in: update QNX version_type handling
a956f5ce is described below

commit a956f5ce7d98d77401c65c496262479ea5fcdfad
Author: Stephen Webb <swebb@blackberry.com>
AuthorDate: Fri Mar 22 12:49:53 2024 -0400

    ltmain.in: update QNX version_type handling
    
    QNX handles ELF SONAME versioning just like most other targets.
---
 build-aux/ltmain.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index af4970be..7e4b8211 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6955,13 +6955,13 @@ func_mode_link ()
          #
          case $version_type in
          # correct linux to gnu/linux during the next big refactor
-         darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
+         darwin|freebsd-elf|linux|midnightbsd-elf|osf|qnx|windows|none)
            func_arith $number_major + $number_minor
            current=$func_arith_result
            age=$number_minor
            revision=$number_revision
            ;;
-         freebsd-aout|qnx|sco|sunos)
+         freebsd-aout|sco|sunos)
            current=$number_major
            revision=$number_minor
            age=0
@@ -7108,8 +7108,9 @@ func_mode_link ()
          ;;
 
        qnx)
-         major=.$current
-         versuffix=.$current
+         func_arith $current - $age
+         major=.$func_arith_result
+         versuffix=$major.$age.$revision
          ;;
 
        sco)



reply via email to

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