* m4/libtool.m4 (_LT_LINKER_SHLIBS) [aix]: In archive_expsym_cmds,

move -bnoentry linker option before $compiler_flags to honor any
possible -e entries in LDFLAGS.
This commit is contained in:
Albert Chin-A-Young 2004-09-26 20:01:26 +00:00 committed by Gary V. Vaughan
parent 29b732ba79
commit f75d37dac1
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-09-26 Albert Chin-A-Young <china@thewrittenword.com>
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [aix]: In archive_expsym_cmds,
move -bnoentry linker option before $compiler_flags to honor any
possible -e entries in LDFLAGS.
2004-09-25 Gary V. Vaughan <gary@gnu.org> 2004-09-25 Gary V. Vaughan <gary@gnu.org>
* config/ltmain.in (func_mode_link): When linking an installed * config/ltmain.in (func_mode_link): When linking an installed

6
m4/libtool.m4 vendored
View File

@ -3739,9 +3739,9 @@ _LT_EOF
_LT_TAGVAR(allow_undefined_flag, $1)='-berok' _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
# Determine the default libpath from the value encoded in an # Determine the default libpath from the value encoded in an
# empty executable. # empty executable.
_LT_SYS_MODULE_PATH_AIX _LT_SYS_MODULE_PATH_AIX
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else else
if test "$host_cpu" = ia64; then if test "$host_cpu" = ia64; then
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'