]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: don't try to use .o instead of .lo just because
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 25 Jan 1999 06:22:23 +0000 (06:22 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 25 Jan 1999 06:22:23 +0000 (06:22 +0000)
there's no PIC flag.  It loses if --disable-static, and there's
not much point if we're referring to the same file anyway...

ChangeLog
ltmain.in

index c0a91d2eec6982a4891de7ed1bef5605486d8818..84e3e700a84769b8efaa91063c86030db66bd256 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-01-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltmain.in: don't try to use .o instead of .lo just because
+       there's no PIC flag.  It loses if --disable-static, and there's
+       not much point if we're referring to the same file anyway...
+
        * ltmain.in (pass_all=none, droppeddeps): set only if deplibs was
        non-empty
 
index 0b4e7e0b393861559b384197959dbb81f2e1597f..d07b182d106f6a5fb08b1ff968c3033110a55e14 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1834,9 +1834,6 @@ EOF
          linknames="$linknames $link"
        done
 
-       # Use standard objects if they are PIC.
-       test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-
        if test -n "$whole_archive_flag_spec"; then
          if test -n "$convenience"; then
            eval libobjs=\"\$libobjs $whole_archive_flag_spec\"