examples/eventdev: fix crash on exit
[dpdk.git] / examples / l2fwd-cat / meson.build
index b6deabc..2bed18e 100644 (file)
@@ -6,8 +6,10 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-ext_deps += cc.find_library('pqos')
-cflags += '-D_GNU_SOURCE'
+pqos = cc.find_library('pqos', required: false)
+build = pqos.found()
+ext_deps += pqos
+allow_experimental_apis = true
 cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
 sources = files(
        'cat.c', 'l2fwd-cat.c'