forked from mesonbuild/meson
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor out invoking compiler to link to a separate class
Usually, we invoke a compiler driver for a final link, as it has knowledge of standard libraries to use etc., but in some cases we use the linker. (MSVC embeds 'linker directives' into the output objects which tell the linker what standard libraries are needed) Also drop redundant checking of type of vs_module_defs:, it been done in the interpreter, as it should be, for a while now. (This is needed because the linker that clang invokes varies depending on the target, and so requires different syntax)
- Loading branch information
1 parent
7e8f8aa
commit 8bac869
Showing
5 changed files
with
201 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.