diff options
author | Simon Warta <[email protected]> | 2015-07-02 18:13:38 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-21 20:06:18 +0200 |
commit | 648d504933e2fd3e994d24d8703fee9b176c36cd (patch) | |
tree | e6a894a05dccf374e34b3fc80983d82a0691fa24 /src/build-data | |
parent | 321a194a5400e200ecd02568706fa7b8c1339fcc (diff) |
Have a $(LINKER) variable
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/msvc.txt | 4 | ||||
-rw-r--r-- | src/build-data/makefile/header.in | 1 |
2 files changed, 4 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> diff --git a/src/build-data/makefile/header.in b/src/build-data/makefile/header.in index d821361f6..a83184bb8 100644 --- a/src/build-data/makefile/header.in +++ b/src/build-data/makefile/header.in @@ -1,5 +1,6 @@ # Compiler Options CXX = %{cxx} +LINKER = %{linker} LIB_OPT = %{lib_opt} APP_OPT = %{app_opt} LANG_FLAGS = %{lang_flags} |