avoid sigar.o/Sigar.o clash on case insensitive filesystems
This commit is contained in:
parent
349b7caaf6
commit
9935c592f6
|
@ -112,6 +112,10 @@ sub inline_src {
|
||||||
}
|
}
|
||||||
for my $file (@$src) {
|
for my $file (@$src) {
|
||||||
my $cf = basename $file;
|
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;
|
push @files, $cf;
|
||||||
if ($flags->{is_win32}) {
|
if ($flags->{is_win32}) {
|
||||||
copy($file, $cf);
|
copy($file, $cf);
|
||||||
|
|
Loading…
Reference in New Issue