X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fl2fwd-cat%2Fmeson.build;h=4e2777a03358d979eb733645d7a4f57e6556b943;hb=0224b78eff68525a31e6fb9e51ca3fe1121760bb;hp=29e5d0cf76a016fedfe38c2b714b0c0e7fbfdd14;hpb=8728ccf37615904cf23fb8763895b05c9a3c6b0c;p=dpdk.git diff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build index 29e5d0cf76..4e2777a033 100644 --- a/examples/l2fwd-cat/meson.build +++ b/examples/l2fwd-cat/meson.build @@ -6,9 +6,9 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' -ext_deps += cc.find_library('pqos') -allow_experimental_apis = true -cflags += '-D_GNU_SOURCE' +pqos = cc.find_library('pqos', required: false) +build = pqos.found() +ext_deps += pqos cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local sources = files( 'cat.c', 'l2fwd-cat.c'