X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmeson.build;h=2c6b3f889cccfea4aeb631681c69b62ae1323a58;hb=d80016310bb2eb280112293e28665ca9f9dd89ed;hp=b660b4ba1f88ee9f84067fedb5515109a36e349f;hpb=6c9457c27954f16d99f3798711eb253fbaf05fa3;p=dpdk.git diff --git a/examples/meson.build b/examples/meson.build index b660b4ba1f..2c6b3f889c 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -6,12 +6,13 @@ if get_option('default_library') == 'static' driver_libs = dpdk_drivers endif +execinfo = cc.find_library('execinfo', required: false) foreach example: get_option('examples').split(',') name = example sources = [] allow_experimental_apis = false - cflags = [] - ext_deps = [] + cflags = machine_args + ext_deps = [execinfo] includes = [include_directories(example)] deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] subdir(example)