]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
authorAlbert Chin-A-Young <china@thewrittenword.com>
Mon, 13 Dec 2004 16:20:30 +0000 (16:20 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 13 Dec 2004 16:20:30 +0000 (16:20 +0000)
Append -G to link command-line on AIX to honor -brtl on command-line
(runtime linking). Already done for IBM C/C++ compilers.

ChangeLog
m4/libtool.m4

index 5bfaa5295bd6d4a88893076b9a96c3df88abfb39..4088e8416f2b7b940d03398f8db0996de3e62e37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-13  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
+       Append -G to link command-line on AIX to honor -brtl on command-line
+       (runtime linking). Already done for IBM C/C++ compilers.
+
 2004-12-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
 
        * libltdl/lt__strl.c, libltdl/libltdl/lt__strl.h: New files to
index 8eb3014fb9cd84dddf5d08772fdb6afd561477f5..ff6c50ba8804da2b12d67c5320bc77892a4b970b 100644 (file)
@@ -3785,6 +3785,9 @@ _LT_EOF
          fi
        esac
        shared_flag='-shared'
+       if test "$aix_use_runtimelinking" = yes; then
+         shared_flag="$shared_flag "'${wl}-G'
+       fi
       else
        # not using gcc
        if test "$host_cpu" = ia64; then
@@ -4738,6 +4741,9 @@ if test "$_lt_caught_CXX_error" != yes; then
          fi
           esac
           shared_flag='-shared'
+         if test "$aix_use_runtimelinking" = yes; then
+           shared_flag="$shared_flag "'${wl}-G'
+         fi
         else
           # not using gcc
           if test "$host_cpu" = ia64; then