diff options
author | Christoph Reiter <[email protected]> | 2021-09-25 13:51:56 +0200 |
---|---|---|
committer | Christoph Reiter <[email protected]> | 2021-09-25 13:56:17 +0200 |
commit | eeebcbf086ee9231a286253df3be105c453eb9b0 (patch) | |
tree | 30c5134b4ebb656310c7eb5a95d3861833ae48aa /src/build-data/os | |
parent | d17ffc7438d467cf311ce4ad0a6d9889f2e31f9a (diff) |
Add shared library support for mingw
This adds the following output files when building the shared library
with mingw (tested with mingw-w64 and both gcc and clang):
bin/libbotan-3.dll
lib/libbotan-3.dll.a
Also look for the DLL name when loading the Python bindings
(looking for both versions to mirror the MSVC logic)
Diffstat (limited to 'src/build-data/os')
-rw-r--r-- | src/build-data/os/mingw.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/os/mingw.txt b/src/build-data/os/mingw.txt index b2cc2f0b8..836da6e9d 100644 --- a/src/build-data/os/mingw.txt +++ b/src/build-data/os/mingw.txt @@ -8,6 +8,9 @@ header_dir include lib_dir lib doc_dir share/doc +soname_pattern_base "{lib_prefix}{libname}.dll" +shared_lib_symlinks no + # see https://sourceforge.net/p/mingw-w64/bugs/755/ use_stack_protector no |