From: Albert Chin-A-Young Date: Mon, 13 Dec 2004 16:19:04 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, X-Git-Tag: release-1-5-12~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=589866f0400696f4763fd98b8111f3e3e3fc6008;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 3b9f17c2b..485b572b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-12-13 Albert Chin-A-Young + + * 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 * ltmain.in (func_extract_archives,func_extract_an_archive): On diff --git a/libtool.m4 b/libtool.m4 index ca90c17fc..4a35e42b0 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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