From: Alexandre Oliva Date: Mon, 25 Jan 1999 06:22:23 +0000 (+0000) Subject: * ltmain.in: don't try to use .o instead of .lo just because X-Git-Tag: release-1-2f~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d10273f38cfd1a30b766ffdfcdc5dbd6082bfacc;p=thirdparty%2Flibtool.git * 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... --- diff --git a/ChangeLog b/ChangeLog index c0a91d2ee..84e3e700a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-01-25 Alexandre Oliva + * 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 diff --git a/ltmain.in b/ltmain.in index 0b4e7e0b3..d07b182d1 100644 --- 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\"