X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmeson.build;h=120eebf7166c593eb5c241d079b473da79f1c5da;hb=e2db26f76673762532c0b830502bf37aee20d1a8;hp=3b540012f9b441b742391e09b7a24f3a2b54cef3;hpb=949c97ae310af049075c8745208e8795b9071d9c;p=dpdk.git diff --git a/examples/meson.build b/examples/meson.build index 3b540012f9..120eebf716 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,10 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation -driver_libs = [] +link_whole_libs = [] node_libs = [] if get_option('default_library') == 'static' - driver_libs = dpdk_drivers + link_whole_libs = dpdk_static_libraries + dpdk_drivers node_libs = dpdk_graph_nodes endif @@ -101,7 +101,7 @@ foreach example: examples endif executable('dpdk-' + name, sources, include_directories: includes, - link_whole: driver_libs + node_libs, + link_whole: link_whole_libs + node_libs, link_args: dpdk_extra_ldflags, c_args: cflags, dependencies: dep_objs)