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
net/ice/base: increase maximum TCAM/PTG per profile
[dpdk.git]
/
examples
/
l2fwd-keepalive
/
meson.build
diff --git
a/examples/l2fwd-keepalive/meson.build
b/examples/l2fwd-keepalive/meson.build
index
d678a8d
..
ed49c61
100644
(file)
--- a/
examples/l2fwd-keepalive/meson.build
+++ b/
examples/l2fwd-keepalive/meson.build
@@
-7,8
+7,15
@@
# DPDK instance, use 'make'
allow_experimental_apis = true
# DPDK instance, use 'make'
allow_experimental_apis = true
-ext_deps += cc.find_library('rt')
+librt = cc.find_library('rt', required: false)
+if not librt.found()
+ build = false
+ subdir_done()
+endif
+
+ext_deps += librt
deps += 'timer'
sources = files(
deps += 'timer'
sources = files(
- 'main.c', 'shm.c'
+ 'main.c',
+ 'shm.c',
)
)