blob: 267cf580b19c0da34914d0e0a50828e174779021 (
plain)
1
2
3
4
5
6
7
8
9
|
use POSIX qw(uname);
# 2.6 has nanosleep in -lposix4, after that it's in -lrt
if (substr((uname())[2], 2) <= 6) {
$self->{LIBS} = ['-lposix4'];
} else {
$self->{LIBS} = ['-lrt'];
}
|