net/ice: fix memzone leak after device init failure
[dpdk.git] / examples / vhost / meson.build
index 3e6e690..3efd5e6 100644 (file)
@@ -6,7 +6,19 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if not is_linux
+    build = false
+    subdir_done()
+endif
+
 deps += 'vhost'
+allow_experimental_apis = true
 sources = files(
-       'main.c', 'virtio_net.c'
+        'main.c',
+        'virtio_net.c',
 )
+
+if dpdk_conf.has('RTE_RAW_IOAT')
+    deps += 'raw_ioat'
+    sources += files('ioat.c')
+endif