diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-12-03 11:25:26 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-12-03 13:08:42 -0800 |
commit | a1bfd22120c219a9190559b1fdc4ba29d8e59783 (patch) | |
tree | 0cf0114907cb14ba1f73ac6f40aec3af6986b655 | |
parent | 39efd977141e9e4fb923d631a7006c130d5ae769 (diff) | |
download | meson-a1bfd22120c219a9190559b1fdc4ba29d8e59783.zip meson-a1bfd22120c219a9190559b1fdc4ba29d8e59783.tar.gz meson-a1bfd22120c219a9190559b1fdc4ba29d8e59783.tar.bz2 |
linkers: Correct MSVC-like linkers invoke directly flag
This is returning the inverse of the correct value, which happens to
work out because in general the compilers that a link.exe-like linker is
paired with accepts the same arguments.
-rw-r--r-- | mesonbuild/linkers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index 1c0dfff..09513e0 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -791,7 +791,7 @@ class VisualStudioLikeLinkerMixin: self.machine = machine def invoked_by_compiler(self) -> bool: - return self.direct + return not self.direct def get_debug_crt_args(self) -> typing.List[str]: """Arguments needed to select a debug crt for the linker. |