From: Albert Chin-A-Young Date: Mon, 13 Dec 2004 16:23:11 +0000 (+0000) Subject: * libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): X-Git-Tag: release-2-1b~818 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0401fed0dd9f0355349b0cbf4cd0a1a8fad29b54;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 76a9018b9..3021fed55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-12-13 Albert Chin-A-Young + + * 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 * configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 04762f7ec..c26c3dd6d 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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