summaryrefslogtreecommitdiffstats
path: root/examples/kni/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'examples/kni/meson.build')
-rw-r--r--examples/kni/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/kni/meson.build b/examples/kni/meson.build
index c39aead6..79131639 100644
--- a/examples/kni/meson.build
+++ b/examples/kni/meson.build
@@ -6,6 +6,8 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+# this app can be built if-and-only-if KNI library is buildable
+build = dpdk_conf.has('RTE_LIBRTE_KNI')
deps += ['kni', 'bus_pci']
sources = files(
'main.c'