From: Dan McNichol Date: Thu, 12 Jul 2001 00:08:42 +0000 (+0000) Subject: From albert chin X-Git-Tag: release-1-4-1~14 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=54fe7b4e5c5a2217fca4e7dff247857ecb738da7;p=thirdparty%2Flibtool.git From albert chin * ltmain.in: Fix a case where the lockfile is not removed, thus causing libtool to loop forever waiting for it to be removed. --- diff --git a/ChangeLog b/ChangeLog index cbb94b5d0..b40b8523e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-07-12 Dan McNichol + + From albert chin + * 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 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Revert to 1.3.x diff --git a/ltmain.in b/ltmain.in index 5866cdfc2..b61ccf068 100644 --- 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=$?