]> 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:23:11 +0000 (16:23 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 13 Dec 2004 16:23:11 +0000 (16:23 +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 76a9018b95c2ec776c15aee35e7173cabf757df4..3021fed55c06b27d887005efbb3bb27739e9efce 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-12  Patrick Welche <prlw1@newn.cam.ac.uk>
 
        * configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}.
index 04762f7ece356ce01125d6d8058e67c023e6a2ec..c26c3dd6d20e1dc3a8a4c652aeec1b39250bb747 100644 (file)
@@ -3792,6 +3792,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
@@ -4745,6 +4748,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