avoid sigar.o/Sigar.o clash on case insensitive filesystems

This commit is contained in:
Doug MacEachern 2009-02-24 19:34:56 -08:00
parent 349b7caaf6
commit 9935c592f6
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ sub inline_src {
}
for my $file (@$src) {
my $cf = basename $file;
#sigar.c -> libsigar.c else
#sigar.o and perl Sigar.o clash on case insensitive filesystems
$cf = 'libsigar.c' if $cf eq 'sigar.c';
push @files, $cf;
if ($flags->{is_win32}) {
copy($file, $cf);