summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 1b055c3613..20c3bb0855 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -742,7 +742,9 @@ sub fallback_cleanup {
open my $fh, '>>', $file or die "open $file: $!";
# Quite possible that we're being run in parallel here.
# Can't use Fcntl this early to get the LOCK_EX
- flock $fh, 2 or warn "flock $file: $!";
+ if ($^O ne "amigaos") {
+ flock $fh, 2 or warn "flock $file: $!";
+ }
print $fh $contents or die "print $file: $!";
close $fh or die "close $file: $!";
}