git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/spinlock: use compile atomics for lcores sync
[dpdk.git]
/
examples
/
vhost_crypto
/
meson.build
diff --git
a/examples/vhost_crypto/meson.build
b/examples/vhost_crypto/meson.build
index
0f4876f
..
720f42d
100644
(file)
--- 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'
# 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']
allow_experimental_apis = true
deps += ['vhost', 'cryptodev']
-cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64']
sources = files(
sources = files(
- 'main.c'
+ 'main.c',
)
)