mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Undo message on monotonic fail as we are now building against -lrt
This commit is contained in:
parent
48c489155e
commit
b1678fa7ac
@ -4,10 +4,6 @@ from calibre.constants import plugins
|
|||||||
|
|
||||||
monotonicp, err = plugins['monotonic']
|
monotonicp, err = plugins['monotonic']
|
||||||
if err:
|
if err:
|
||||||
# This happens on systems with very old glibc that does not
|
|
||||||
# have clock_gettime() (glibc < 2.17 http://stackoverflow.com/a/32649327)
|
|
||||||
if 'undefined symbol: clock_gettime' in err:
|
|
||||||
raise RuntimeError('Your glibc version is too old, glibc >= 2.17 is required')
|
|
||||||
raise RuntimeError('Failed to load the monotonic module with error: ' + err)
|
raise RuntimeError('Failed to load the monotonic module with error: ' + err)
|
||||||
monotonic = monotonicp.monotonic
|
monotonic = monotonicp.monotonic
|
||||||
del monotonicp, err
|
del monotonicp, err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user