[PATCH 06/12] Drop useless symlinks with AIX runtime linking.

Michael Haubenwallner <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <1349192093-24173-7-git-send-email-michael.haubenwallner@salomon.at>
On AIX, the standalone Shared Object we create when runtime linking is
active does not support versioning at all, so the versioning symlinks
are plain useless.
* m4/libtool.m4: (library_names_spec) No versioning with AIX runtime
linking.
---
 m4/libtool.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 503bbc3..0c429d3 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2290,8 +2290,8 @@ aix[[4-9]]*)
     if test yes = "$aix_use_runtimelinking"; then
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
-      # typical AIX shared libraries.
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+      # typical AIX shared libraries. But there is no versioning support.
+      library_names_spec='$libname$release$shared_ext $libname$shared_ext'
     else
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
-- 
1.7.3.4
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.