summaryrefslogtreecommitdiff
path: root/ext/Time-HiRes/hints/linux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Time-HiRes/hints/linux.pl')
-rw-r--r--ext/Time-HiRes/hints/linux.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Time-HiRes/hints/linux.pl b/ext/Time-HiRes/hints/linux.pl
new file mode 100644
index 0000000000..84ce5221b1
--- /dev/null
+++ b/ext/Time-HiRes/hints/linux.pl
@@ -0,0 +1,2 @@
+# needs to explicitly link against librt to pull in clock_nanosleep
+$self->{LIBS} = ['-lrt'];