Update ctypes_libsodium.py
This commit is contained in:
parent
5a5158b33f
commit
d91f7d85d4
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def load_libsodium():
|
||||||
global loaded, libsodium, buf
|
global loaded, libsodium, buf
|
||||||
|
|
||||||
from ctypes.util import find_library
|
from ctypes.util import find_library
|
||||||
for p in ('sodium',):
|
for p in ('sodium', 'libsodium'):
|
||||||
libsodium_path = find_library(p)
|
libsodium_path = find_library(p)
|
||||||
if libsodium_path:
|
if libsodium_path:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue