From: Alexandre Oliva Date: Fri, 12 Feb 1999 16:24:15 +0000 (+0000) Subject: * ltmain.in: don't try to read objdir/libname.la before it is X-Git-Tag: release-1-2f~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3dd65937407ef941ea39badf3f1e3f6915d36b;p=thirdparty%2Flibtool.git * ltmain.in: don't try to read objdir/libname.la before it is created! --- diff --git a/ChangeLog b/ChangeLog index 8c3103cad..ab3b7ca46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-02-12 Alexandre Oliva + * ltmain.in: don't try to read objdir/libname.la before it is + created! + * ltmain.in: create libname.lai at link time, not at install time, but still create it at install time if it is missing Reported by Akim Demaille diff --git a/ltmain.in b/ltmain.in index 14006bb41..93378f980 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2599,9 +2599,9 @@ installed=no libdir='$install_libdir'\ " - $rm "$output_dir/$outputname"i + $rm "$output_objdir/$outputname"i sed 's/^installed=no$/installed=yes/' \ - < "$output_dir/$outputname" > "$output_dir/$outputname"i + < "$output" > "$output_objdir/$outputname"i || exit 1 fi # Do a symbolic link so that the libtool archive can be found in