ninja: Don't use @file.rsp with ArLinker on Windows
We can't use @file.rsp on Windows with ArLinker because llvm-ar and gcc-ar blindly pass the --plugin argument to `ar` and you cannot pass options as arguments while using the @file.rsp syntax. [5/7] cc @mylib@sta/libfile4.c.obj.rsp [6/7] gcc-ar @libmylib.a.rsp FAILED: libmylib.a gcc-ar @libmylib.a.rsp C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: invalid option -- @ https://github.com/mesonbuild/meson/pull/1649 https://ci.appveyor.com/project/jpakkane/meson/build/1.0.2330/job/w3hj9jfdasefsqi9pull/1649/head
parent
bf2af8b7f1
commit
61ed2702bf
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue