Update ctypes_libsodium.py

This commit is contained in:
v3aqb 2014-12-28 08:30:29 +08:00
parent 5a5158b33f
commit d91f7d85d4

View file

@ -42,7 +42,7 @@ def load_libsodium():
global loaded, libsodium, buf
from ctypes.util import find_library
for p in ('sodium',):
for p in ('sodium', 'libsodium'):
libsodium_path = find_library(p)
if libsodium_path:
break