Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix MS linker flag with meson 0.54
[ upstream commit 52a7cb0 ] Meson versions >= 0.54.0 include support for handling /implib with msvc link. Specifying it explicitly causes failures when linking against the dll. Tested using Link 14.27.29112.0 and Clang 11.0.0. There were a number of changes to the way that import libraries are handled between 0.47.1 and 0.54.0. Only make the change for >= 0.54.0, leaving the behaviour unchanged for earlier versions. Fixes: 77cca7c ("build: fix drivers library path on Windows") Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Tested-by: Ranjit Menon <ranjit.menon@intel.com> Acked-by: Ranjit Menon <ranjit.menon@intel.com> Acked-by: Khoa To <khot@microsoft.com>
- Loading branch information