* 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.
This commit is contained in:
Albert Chin-A-Young 2004-12-13 16:23:11 +00:00 committed by Ralf Wildenhues
parent 7c0f8fafa1
commit 0401fed0dd
2 changed files with 12 additions and 0 deletions

View File

@ -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}.

6
m4/libtool.m4 vendored
View 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