]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-cat/meson.build
examples/eventdev: fix crash on exit
[dpdk.git] / examples / l2fwd-cat / meson.build
index b6deabc9765607f621e48461e8ed4b7f6b1a5874..2bed18e74954fb4ce0c1bdb685c8c411abca9cfa 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'