aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-09-09 23:02:48 +0200
committerSimon Warta <[email protected]>2015-09-09 23:05:31 +0200
commit71092b319e289920db34c0b5839867b3aa29de58 (patch)
tree40d767a7e14f474023242515f8e6c3006eddcee9 /src/build-data
parent37ebfc0c5b3ffe6ead52678425dee62fd7993ec7 (diff)
Prevent users from building static non-amalgamations on MinGW and Cygwin
* Rename variable to avoid confusion of build_shared and options.build_shared_lib * Don't automatically change shared -> static. Force user to do that Fixes #211
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/os/cygwin.txt2
-rw-r--r--src/build-data/os/mingw.txt6
2 files changed, 2 insertions, 6 deletions
diff --git a/src/build-data/os/cygwin.txt b/src/build-data/os/cygwin.txt
index be67e2607..7788cd3ca 100644
--- a/src/build-data/os/cygwin.txt
+++ b/src/build-data/os/cygwin.txt
@@ -5,7 +5,7 @@ program_suffix .exe
# Cygwin supports shared libs fine, but there are problems with making a Botan
# shared library when libraries it depends on are static-only (such as libz).
# So until I can figure out a work-around, it's disabled.
-build_shared no
+building_shared_supported no
install_root c:\Botan
doc_dir docs
diff --git a/src/build-data/os/mingw.txt b/src/build-data/os/mingw.txt
index a2ba363f2..5c72099e0 100644
--- a/src/build-data/os/mingw.txt
+++ b/src/build-data/os/mingw.txt
@@ -4,11 +4,7 @@ program_suffix .exe
obj_suffix o
static_suffix a
-soname_pattern_base "libbotan-{version_major}.{version_minor}.dll"
-soname_pattern_abi "libbotan-{version_major}.{version_minor}.dll.{abi_rev}"
-soname_pattern_patch "libbotan-{version_major}.{version_minor}.dll.{abi_rev}.{version_patch}"
-
-build_shared no
+building_shared_supported no
ar_command "ar crs"
ar_needs_ranlib yes