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

ChangeLog
libtool.m4

index 3b9f17c2b0c9be44871d3a740dc8b3cae502b7a1..485b572b545d805cf9812509fed0fc98344182ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-13  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG,
+       AC_LIBTOOL_PROG_LD_SHLIBS): 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-10  Peter O'Gorman  <peter@pogma.com>
 
        * ltmain.in (func_extract_archives,func_extract_an_archive): On 
index ca90c17fcbd04742b1efcad50ad1f2323e41e720..4a35e42b0bb6cf65437d447f14839d2bbf772f84 100644 (file)
@@ -2797,6 +2797,9 @@ case $host_os in
        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
@@ -5379,6 +5382,9 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
          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