find_library('c') return None under Windows
This commit is contained in:
parent
50aac85e88
commit
384283d2a4
|
@ -164,6 +164,7 @@ else:
|
|||
import platform
|
||||
|
||||
sysname = platform.system()
|
||||
if sysname in ('Linux', 'FreeBSD', 'OpenBSD', 'NetBSD'):
|
||||
libc = CDLL(find_library('c'))
|
||||
|
||||
# The constant defined in <linux/prctl.h> which is used to set the name of
|
||||
|
|
Loading…
Reference in New Issue