Skip to content

Commit

Permalink
[Truffle] glibc < 2.13.0 doesn't have clock_gettime(2). It comes from…
Browse files Browse the repository at this point in the history
… librt.
nirvdrum committed Nov 5, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8152f18 commit 231392d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ public LinuxPlatform(RubyContext context) {
signalManager = new SunMiscSignalManager();
processName = new JavaProcessName();
sockets = LibraryLoader.create(Sockets.class).library("c").load();
clockGetTime = LibraryLoader.create(ClockGetTime.class).library("c").load();
clockGetTime = LibraryLoader.create(ClockGetTime.class).library("c").library("rt").load();
rubiniusConfiguration = new RubiniusConfiguration();
DefaultRubiniusConfiguration.load(rubiniusConfiguration, context);
LinuxRubiniusConfiguration.load(rubiniusConfiguration, context);

0 comments on commit 231392d

Please sign in to comment.