net/enic: fix Tx prepare to set positive rte_errno
[dpdk.git] / lib / librte_kni / meson.build
index 055ae12..400af9a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-if host_machine.system() != 'linux' or not dpdk_conf.get('RTE_ARCH_64')
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
        build = false
 endif
 version = 2