aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 805093ce5..278aaadf4 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -9,6 +9,7 @@ add_lib_dir_option -L
add_lib_option ""
lib_opt_flags "/O2"
+shared_flags "/DBOTAN_DLL=__declspec(dllexport)"
check_opt_flags "/O2"
debug_flags "/Zi"
no_debug_flags ""
@@ -16,12 +17,15 @@ lang_flags "/EHsc /GR /D_CONSOLE"
warning_flags ""
dll_import_flags "__declspec(dllimport)"
-dll_export_flags "__declspec(dllexport)"
ar_command "lib"
makefile_style nmake
<so_link_flags>
-default -> "link /DLL"
+default -> "$(CXX) /LD"
</so_link_flags>
+
+<mach_abi_linking>
+all -> "/MD"
+</mach_abi_linking>