net/virtio: add missing backend features negotiation
[dpdk.git] / examples / l2fwd-keepalive / meson.build
index d678a8d..a56d679 100644 (file)
@@ -7,7 +7,13 @@
 # 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(
        'main.c', 'shm.c'