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.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 1bb7454ba..854edb60d 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -1,6 +1,7 @@
macro_name MSVC
binary_name cl
+linker_name link
compile_option "/nologo /c "
output_to_option "/Fo"
@@ -36,7 +37,8 @@ rdrand -> ""
</isa_flags>
<so_link_flags>
-default -> "$(CXX) /LD"
+default -> "$(LINKER) /DLL"
+default-debug -> "$(LINKER) /DLL /DEBUG"
</so_link_flags>
<mach_abi_linking>