aboutsummaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-04 12:47:30 -0500
committerJack Lloyd <[email protected]>2017-01-06 09:36:53 -0500
commit309f9153831e07d726ceecf08c2d6cd3de372c11 (patch)
tree9c9447432c4f61f05833eb3b10da314a8dac158a /src/python
parenta1d25be46c86f37ad1b6b6cf00ee18b2f7dd5456 (diff)
Update shared object naming for new versioning scheme.
Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running.
Diffstat (limited to 'src/python')
-rwxr-xr-xsrc/python/botan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/botan.py b/src/python/botan.py
index 093359970..4da158285 100755
--- a/src/python/botan.py
+++ b/src/python/botan.py
@@ -27,9 +27,9 @@ import time
Module initialization
"""
if sys.platform == 'darwin':
- botan = CDLL('libbotan-1.11.dylib')
+ botan = CDLL('libbotan-2.dylib')
else:
- botan = CDLL('libbotan-1.11.so')
+ botan = CDLL('libbotan-2.so')
expected_api_rev = 20151015
botan_api_rev = botan.botan_ffi_api_version()