aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-19 23:52:03 +0000
committerlloyd <[email protected]>2009-11-19 23:52:03 +0000
commitdea953ccb4b722c9cc3f4bc25c729ffcc03efb9f (patch)
tree23321bc678c55ff67485bc051a01fda08436fc61 /src/build-data/cc/msvc.txt
parent3786032100c34e2196bbb8af1e89226b05fbc324 (diff)
Switch from only-static with VC++ to only a DLL. The static library is
huge (60+ Mb!); the DLL should be smaller due to link-time merging making it viable to distribute binaries.
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index bbc6345bc..0df8c67d6 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -8,7 +8,8 @@ add_include_dir_option "/I"
add_lib_dir_option -L
add_lib_option ""
-lib_opt_flags "/O2 /DBOTAN_DLL=__declspec(dllexport)"
+lib_opt_flags "/O2"
+shared_flags "/DBOTAN_DLL=__declspec(dllexport)"
check_opt_flags "/O2"
debug_flags "/Zi"
no_debug_flags ""
@@ -22,5 +23,5 @@ ar_command "lib"
makefile_style nmake
<so_link_flags>
-default -> "link /DLL"
+default -> "$(CXX) /LD"
</so_link_flags>