Skip to content

Commit 65ef659

Browse files
get_PYKCS11LIB: add softhsm lib for macOS on arm64
When softhsm is installed by homebrew.
1 parent f3ca2f3 commit 65ef659

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

get_PYKCS11LIB.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def get_PYKCS11LIB():
2828
# use SoftHSM2 or SoftHSM1
2929
LIBS = [
3030
"/usr/local/lib/softhsm/libsofthsm2.so", # macOS or local build
31+
"/opt/homebrew/lib/softhsm/libsofthsm2.so", # macOS arm64
3132
"/usr/lib/softhsm/libsofthsm2.so", # Debian libsofthsm2
3233
"/usr/lib/softhsm/libsofthsm.so", # Debian libsofthsm
3334
"/usr/lib/libsofthsm.so", # Ubuntu 12.04 libsofthsm

0 commit comments

Comments
 (0)