aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-01-12 19:18:19 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-01-22 19:34:05 +0530
commit38db769aafdf3e391c725d2438b482a6022cf493 (patch)
tree9404ffe5e9bd96d15ee3167044c2e9a559ba0993 /mesonbuild/linkers.py
parentad687462e1705df1facadf35df1b2ace31c9285f (diff)
downloadmeson-38db769aafdf3e391c725d2438b482a6022cf493.zip
meson-38db769aafdf3e391c725d2438b482a6022cf493.tar.gz
meson-38db769aafdf3e391c725d2438b482a6022cf493.tar.bz2
linkers: Clarify a comment about rspfiles
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r--mesonbuild/linkers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py
index 51c5733..a106714 100644
--- a/mesonbuild/linkers.py
+++ b/mesonbuild/linkers.py
@@ -276,7 +276,8 @@ class DynamicLinker(metaclass=abc.ABCMeta):
return self.exelist.copy()
def get_accepts_rsp(self) -> bool:
- # TODO: is it really a matter of is_windows or is it for_windows?
+ # rsp files are only used when building on Windows because we want to
+ # avoid issues with quoting and max argument length
return mesonlib.is_windows()
def get_always_args(self) -> T.List[str]: