crypto/octeontx2: support CN98xx
[dpdk.git] / examples / l2fwd-keepalive / meson.build
index 2dffffa..a56d679 100644 (file)
@@ -6,9 +6,15 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-ext_deps += cc.find_library('rt')
-deps += 'timer'
 allow_experimental_apis = true
+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'
 )