X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl2fwd-cat%2Fmeson.build;h=4e2777a03358d979eb733645d7a4f57e6556b943;hb=5d7b673d5fd6663b20c675dd382d9fb43b42af18;hp=b6deabc9765607f621e48461e8ed4b7f6b1a5874;hpb=6c9457c27954f16d99f3798711eb253fbaf05fa3;p=dpdk.git diff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build index b6deabc976..4e2777a033 100644 --- a/examples/l2fwd-cat/meson.build +++ b/examples/l2fwd-cat/meson.build @@ -6,8 +6,9 @@ # 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 cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local sources = files( 'cat.c', 'l2fwd-cat.c'