X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl2fwd-cat%2Fmeson.build;h=2bed18e74954fb4ce0c1bdb685c8c411abca9cfa;hb=a2154606ffa6b5ddacbebd8714facc7e2fda3262;hp=b6deabc9765607f621e48461e8ed4b7f6b1a5874;hpb=6c9457c27954f16d99f3798711eb253fbaf05fa3;p=dpdk.git diff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build index b6deabc976..2bed18e749 100644 --- a/examples/l2fwd-cat/meson.build +++ b/examples/l2fwd-cat/meson.build @@ -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'