]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From albert chin <china@thewrittenword.com>
authorDan McNichol <mcnichol@austin.ibm.com>
Thu, 12 Jul 2001 00:08:42 +0000 (00:08 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 12 Jul 2001 00:08:42 +0000 (00:08 +0000)
* ltmain.in: Fix a case where the lockfile is not removed, thus
causing libtool to loop forever waiting for it to be removed.

ChangeLog
ltmain.in

index cbb94b5d027d427ee66979a780934b77d54305df..b40b8523e5b6dff663035d413fe6a929d89b9ca6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-12  Dan McNichol  <mcnichol@austin.ibm.com>
+
+       From albert chin <china@thewrittenword.com>
+       * ltmain.in: Fix a case where the lockfile is not removed, thus
+       causing libtool to loop forever waiting for it to be removed.
+
 2001-07-05  Gary V. Vaughan  <gary@gnu.org>
 
        * libtool.m4 (_LT_AC_LTCONFIG_HACK):  Revert to 1.3.x
index 5866cdfc276f110260adbcf335d34090d2ffcdec..b61ccf068746a0801a5185eed96152a7f57d6869 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -620,6 +620,10 @@ compiler."
        # Now arrange that obj and lo_libobj become the same file
        $show "(cd $xdir && $LN_S $baseobj $libobj)"
        if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
+         # Unlock the critical section if it was locked
+         if test "$need_locks" != no; then
+           $run $rm "$lockfile"
+         fi
          exit 0
        else
          error=$?