Update ctypes_libsodium.py

This commit is contained in:
v3aqb 2014-12-28 08:30:29 +08:00
parent 5a5158b33f
commit d91f7d85d4
1 changed files with 1 additions and 1 deletions

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