Test Fails on SCO
authorJonathan Stowe <gellyfish@gellyfish.com>
Tue, 26 Jun 2001 10:29:57 +0000 (11:29 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 26 Jun 2001 12:33:55 +0000 (12:33 +0000)
Message-ID: <Pine.LNX.4.33.0106261021540.18774-100000@orpheus.gellyfish.com>

SCO OpenServer 5.0.5 needs an explicit -lc for usleep().

p4raw-id: //depot/perl@10953

MANIFEST
ext/Time/HiRes/hints/sco.pl [new file with mode: 0644]

index ac3ea74..5491ac0 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -534,6 +534,7 @@ ext/Thread/unsync2.tx               Test thread implicit synchronisation
 ext/Thread/unsync3.tx          Test thread implicit synchronisation
 ext/Thread/unsync4.tx          Test thread implicit synchronisation
 ext/Time/HiRes/Changes         Time::HiRes extension
+ext/Time/HiRes/hints/sco.pl    Hints for Time::HiRes for named architecture
 ext/Time/HiRes/HiRes.pm                Time::HiRes extension
 ext/Time/HiRes/HiRes.t         Test for Time::HiRes
 ext/Time/HiRes/HiRes.xs                Time::HiRes extension
diff --git a/ext/Time/HiRes/hints/sco.pl b/ext/Time/HiRes/hints/sco.pl
new file mode 100644 (file)
index 0000000..73ff149
--- /dev/null
@@ -0,0 +1,3 @@
+# osr5 needs to explicitly link against libc to pull in usleep
+$self->{LIBS} = ['-lc'];
+