GNU binutils ld silently ignores -rpath flags when targeting windows (and it is already commented within ninjabackend.py that rpath as concept doesn't exist on windows), and build_rpath_args in VisualStudioCCompiler also returns an empty array. Therefore skip this flag altogether. This fixes linking with lld in MinGW mode, which doesn't support the rpath flag.pull/4259/head
parent
89e0414efd
commit
48b6520764
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue