X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_crypto%2Fmeson.build;h=720f42dd702928d372e24c66bf21caa71c5b568e;hb=92ed77dce68d45e7a343163cdc41ac9bdd099eec;hp=daf19fb87017296748bd73c9991e80a4b57f11db;hpb=5d7b673d5fd6663b20c675dd382d9fb43b42af18;p=dpdk.git diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build index daf19fb870..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_FILE_OFFSET_BITS=64'] sources = files( - 'main.c' + 'main.c', )