From 510893b3dc1b2defd389a558b5483784cf757ee6 Mon Sep 17 00:00:00 2001 From: Ophir Munk Date: Tue, 12 Jan 2021 14:58:39 +0200 Subject: [PATCH] common/mlx5: enable compilation on Windows Enable mlx5 common driver on Windows with clang compilation. Signed-off-by: Ophir Munk Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad --- drivers/common/mlx5/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build index 26cee06a89..03e3e7b4a0 100644 --- a/drivers/common/mlx5/meson.build +++ b/drivers/common/mlx5/meson.build @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 Mellanox Technologies, Ltd -if not is_linux +if not (is_linux or (is_windows and is_ms_linker)) build = false - reason = 'only supported on Linux' + reason = 'only supported on Linux and Windows build with clang' subdir_done() endif -- 2.20.1