]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: don't try to read objdir/libname.la before it is
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 12 Feb 1999 16:24:15 +0000 (16:24 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 12 Feb 1999 16:24:15 +0000 (16:24 +0000)
created!

ChangeLog
ltmain.in

index 8c3103cadcc7862adfc4076621fb8176f1278159..ab3b7ca4600f22487b199d18954a714d192bd269 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-02-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * 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 <demaille@inf.enst.fr>
index 14006bb41ef251e7c594ed269fa2d9396db0a993..93378f9804f32bd752aa6de2982b53a5baf44144 100644 (file)
--- 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