mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Old Ubuntu has libsystemd without sd_listen_fds()
This commit is contained in:
parent
4c5a77361a
commit
f6cbbb6365
@ -33,6 +33,7 @@ if islinux:
|
||||
|
||||
try:
|
||||
systemd = ctypes.CDLL(ctypes.util.find_library('systemd'))
|
||||
systemd.sd_listen_fds
|
||||
except Exception:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user