diff options
author | Jack Lloyd <[email protected]> | 2020-11-06 09:52:53 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-06 09:52:53 -0500 |
commit | 1d8bc7a741a2d0fa9be1cb03537a2a9fb966d188 (patch) | |
tree | 423d3c7c458ab542ad25d13c516c88137b02ef5e /src/python/botan2.py | |
parent | 8b47fa7282f6b23eb31ae2e12edb17ba73f21c92 (diff) | |
parent | c9fcd92e4ddb3739ef79b8e683064ac7c6e3a61d (diff) |
Merge GH #2452 Bump to 3.0.0-alpha0
Diffstat (limited to 'src/python/botan2.py')
-rwxr-xr-x | src/python/botan2.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/botan2.py b/src/python/botan2.py index 6ae1bd6da..358d3bc59 100755 --- a/src/python/botan2.py +++ b/src/python/botan2.py @@ -55,11 +55,15 @@ def _load_botan_dll(expected_version): possible_dll_names = [] if platform in ['win32', 'cygwin', 'msys']: + possible_dll_names.append('botan-3.dll') possible_dll_names.append('botan.dll') elif platform in ['darwin', 'macos']: + possible_dll_names.append('libbotan-3.dylib') possible_dll_names.append('libbotan-2.dylib') else: # assumed to be some Unix/Linux system + possible_dll_names.append('libbotan-3.so') + possible_dll_names += ['libbotan-3.so.%d' % (v) for v in reversed(range(0, 10))] possible_dll_names.append('libbotan-2.so') possible_dll_names += ['libbotan-2.so.%d' % (v) for v in reversed(range(13, 20))] |