From 48c489155eb374986ac0ae23e26af7081a7d7c0d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Jun 2016 14:56:14 +0530 Subject: [PATCH] Build monotonic agains -lrt on linux so that it works even on systems that have outdated versions of glibc --- setup/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/extensions.py b/setup/extensions.py index d309f5fa4f..f9038d2624 100644 --- a/setup/extensions.py +++ b/setup/extensions.py @@ -95,6 +95,7 @@ extensions = [ Extension('monotonic', ['calibre/utils/monotonic.c'], + libraries=['rt'] if islinux else [], ), Extension('speedup',