net/mlx5: support keeping CRC on Windows
[dpdk.git] / drivers / net / af_packet / meson.build
index 92f6a97..c014e9b 100644 (file)
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-if host_machine.system() != 'linux'
-       build = false
+if not is_linux
+    build = false
+    reason = 'only supported on Linux'
 endif
 sources = files('rte_eth_af_packet.c')