]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Brad <brad@comstyle.com>:
authorGary V. Vaughan <gary@gnu.org>
Sun, 5 Aug 2001 11:04:59 +0000 (11:04 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 5 Aug 2001 11:04:59 +0000 (11:04 +0000)
* libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1.3 era $linkopts references with $linker_flags.

ChangeLog
libtool.m4

index a599784a6c63bef99409b1d9adc9ec02697f1425..64698e5ec724d37091ed980f4d29cf7ffc9df0fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2001-08-05  Gary V. Vaughan  <gary@gnu.org>
 
+       From Brad <brad@comstyle.com>:
+       * libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
+       1.3 era $linkopts references with $linker_flags.
+
        * libltdl/ltdl.c:  Fixed several careless mistakes in the 
        foreach_dirinpath support functions.
        (foreach_dirinpath): Walk path elements with the argz API.
index e315656533c68767cdb720a63a02daf20a57a78f..8fef47a191d472aafd9b57cd8c3eac3b62dcb514 100644 (file)
@@ -4409,7 +4409,7 @@ EOF
       # FIXME: Relying on posixy $() will cause problems for
       #        cross-compilation, but unfortunately the echo tests do not
       #        yet detect zsh echo's removal of \ escapes.
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
       # We need to add '_' to the symbols in $export_symbols first
       #_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds, $1)"' && strip -s $export_symbols'
       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
@@ -4743,7 +4743,7 @@ EOF
       ;;
   
     newsos6)
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
@@ -4851,7 +4851,7 @@ EOF
   
     sysv4)
       if test "x$host_vendor" = xsni; then
-        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
+        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
       else
         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'