diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-04-13 17:07:19 +0100 |
---|---|---|
committer | Dan Kegel <dank@kegel.com> | 2020-06-05 14:15:32 -0700 |
commit | fbacf87af525f7b69e4f1a310f6ef38c5853406c (patch) | |
tree | df1fd14ec7ee129283ce25420f08552a5476c486 /mesonbuild/backend/backends.py | |
parent | 9cec5f3521407d50307eeef3c34cbd608949b0a1 (diff) | |
download | meson-fbacf87af525f7b69e4f1a310f6ef38c5853406c.zip meson-fbacf87af525f7b69e4f1a310f6ef38c5853406c.tar.gz meson-fbacf87af525f7b69e4f1a310f6ef38c5853406c.tar.bz2 |
ninja: Quoting in rspfile depends on the compiler, not the shell
In certain exotic configurations, the style of quoting expected in the
response file may not match that expected by the shell.
e.g. under MSYS2, ninja invokes commands via CreateProcess (which
results in cmd-style quoting processed by parse_cmdline or
CommandLineToArgvW), but gcc will use sh-style quoting in any response
file it reads.
Future work: The rspfile quoting style should be a method of the
compiler or linker object, rather than hardcoded in ninjabackend.
(In fact, can_linker_accept_rsp() should be extended to do this, since
if we can accept rsp, we should know the quoting style)
Diffstat (limited to 'mesonbuild/backend/backends.py')
0 files changed, 0 insertions, 0 deletions