]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [aix]: In archive_expsym_cmds,
authorAlbert Chin-A-Young <china@thewrittenword.com>
Sun, 26 Sep 2004 20:01:26 +0000 (20:01 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 26 Sep 2004 20:01:26 +0000 (20:01 +0000)
move -bnoentry linker option before $compiler_flags to honor any
possible -e entries in LDFLAGS.

ChangeLog
m4/libtool.m4

index fba3065a68c6724926e7ca868103cb503b9eb63c..29a9ec1cf2a719234896532cb77346d145047496 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * config/ltmain.in (func_mode_link): When linking an installed
index a7d603d9259e6e49f1970f04d6f0d5d22d105c93..77362338359833c1375d540e8596c72aee52adc8 100644 (file)
@@ -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'