X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_crypto%2Fmeson.build;h=720f42dd702928d372e24c66bf21caa71c5b568e;hb=d2794d6719db49ede1370d1be2d56bd96d73c418;hp=0f4876f06bb140dd94034c776d3c0418fb582d20;hpb=f5188211c721688bf8530d1648d623205246e1da;p=dpdk.git diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build index 0f4876f06b..720f42dd70 100644 --- a/examples/vhost_crypto/meson.build +++ b/examples/vhost_crypto/meson.build @@ -6,9 +6,13 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' +build = dpdk_conf.has('RTE_LIB_VHOST') +if not build + subdir_done() +endif + allow_experimental_apis = true deps += ['vhost', 'cryptodev'] -cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64'] sources = files( - 'main.c' + 'main.c', )