diff options
author | Norbert Nemec <Norbert@Nemec-online.de> | 2019-07-11 01:05:48 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-07-11 02:05:48 +0300 |
commit | 555847f20f42bc82f76b193f155e607faf58c574 (patch) | |
tree | 4b04ca1d29edd6450eaf66869a324a05fee9cd85 /mesonbuild/compilers/d.py | |
parent | 19cda6b7c96cc3a63796549764261306e1db94b4 (diff) | |
download | meson-555847f20f42bc82f76b193f155e607faf58c574.zip meson-555847f20f42bc82f76b193f155e607faf58c574.tar.gz meson-555847f20f42bc82f76b193f155e607faf58c574.tar.bz2 |
Fix MSVC /link argument ordering (#5598)
* correct handling of LDFLAGS in find_library and sanity_check on MSVC (fixes #3629)
The MSVC compiler requires all linker flags to be placed after the compiler flags, separated by a "/link" argument. This was already handled for regular linking commands, but not yet for the aforementioned special code paths.
* on MSVC, add /link separator between compiler and linker flags when it is missing
* avoid unnecessary /link argument
Diffstat (limited to 'mesonbuild/compilers/d.py')
0 files changed, 0 insertions, 0 deletions