aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build-data/os/windows.txt7
-rwxr-xr-xsrc/scripts/cleanup.py3
2 files changed, 9 insertions, 1 deletions
diff --git a/src/build-data/os/windows.txt b/src/build-data/os/windows.txt
index efc9733c9..898dfc65f 100644
--- a/src/build-data/os/windows.txt
+++ b/src/build-data/os/windows.txt
@@ -1,8 +1,15 @@
os_type windows
+cli_exe_name botan-cli
+
program_suffix .exe
obj_suffix obj
static_suffix lib
+lib_prefix ''
+
+# For historical reasons? the library does not have the major number on Windows
+# This should probably be fixed in a future major release.
+library_name 'botan'
soname_pattern_base "{libname}.dll"
diff --git a/src/scripts/cleanup.py b/src/scripts/cleanup.py
index 6e4689003..33ae18a5e 100755
--- a/src/scripts/cleanup.py
+++ b/src/scripts/cleanup.py
@@ -100,7 +100,8 @@ def main(args=None):
remove_file(build_config['cli_exe'])
remove_file(build_config['test_exe'])
- matches_libname = re.compile('^' + build_config['lib_basename'] + '.([a-z]+)')
+ lib_basename = build_config['lib_prefix'] + build_config['libname']
+ matches_libname = re.compile('^' + lib_basename + '.([a-z]+)')
known_suffix = ['a', 'so', 'dll', 'manifest', 'exp']