]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost_crypto/meson.build
mempool: fix slow allocation of large mempools
[dpdk.git] / examples / vhost_crypto / meson.build
index 0f4876f06bb140dd94034c776d3c0418fb582d20..2485f3bd105a4490af10ee04d7f652bc66e71e56 100644 (file)
@@ -6,9 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
-cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64']
 sources = files(
        'main.c'
 )