diff options
author | Martin Storsjö <martin@martin.st> | 2018-09-23 21:18:37 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-25 02:43:19 +0300 |
commit | 48b6520764ad92a6ac4d830d84526e3dc64f8a22 (patch) | |
tree | 8ed5514a0cb592d2e572cf9849c4c3bbae35257f /__main__.py | |
parent | 89e0414efd9ccad54c74c04d425c3974e6f64196 (diff) | |
download | meson-48b6520764ad92a6ac4d830d84526e3dc64f8a22.zip meson-48b6520764ad92a6ac4d830d84526e3dc64f8a22.tar.gz meson-48b6520764ad92a6ac4d830d84526e3dc64f8a22.tar.bz2 |
Don't add rpath linker flags when building for MinGW
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.
Diffstat (limited to '__main__.py')
0 files changed, 0 insertions, 0 deletions