From: Albert Chin-A-Young Date: Sun, 26 Sep 2004 20:01:26 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_LINKER_SHLIBS) [aix]: In archive_expsym_cmds, X-Git-Tag: release-1-9d~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f75d37dac1e3e951ae423c71e53ff49e970f2e45;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index fba3065a6..29a9ec1cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-26 Albert Chin-A-Young + + * 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 * config/ltmain.in (func_mode_link): When linking an installed diff --git a/m4/libtool.m4 b/m4/libtool.m4 index a7d603d92..773623383 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3739,9 +3739,9 @@ _LT_EOF _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX - _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_SYS_MODULE_PATH_AIX + _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 '"\${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 if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'