diff options
-rwxr-xr-x | src/python/botan.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/botan.py b/src/python/botan.py index abfc07fd7..53d95ca61 100755 --- a/src/python/botan.py +++ b/src/python/botan.py @@ -18,7 +18,10 @@ import base64 """ Module initialization """ -botan = CDLL('libbotan-1.11.so') +if sys.platform == 'darwin': + botan = CDLL('libbotan-1.11.dylib') +else: + botan = CDLL('libbotan-1.11.so') expected_api_rev = 20150210 botan_api_rev = botan.botan_ffi_api_version() |