From 89ff31b38b64f5430e57eb291ba270f102b16942 Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Mon, 13 Dec 2004 16:20:30 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ m4/libtool.m4 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5bfaa5295..4088e8416 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-13 Bob Friesenhahn * libltdl/lt__strl.c, libltdl/libltdl/lt__strl.h: New files to diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 8eb3014fb..ff6c50ba8 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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 -- 2.47.2