X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Fmeson.build;h=93d8c15032225956500c2ea6e60f3ca7c9de4be8;hb=f7352c176bbf131728445680ee08961a67cc09a6;hp=310e83076f04d94866f554e639df0436571b684b;hpb=8b8036a66e3d59ffa58afb8d96fa2c73262155a7;p=dpdk.git diff --git a/app/meson.build b/app/meson.build index 310e83076f..93d8c15032 100644 --- a/app/meson.build +++ b/app/meson.build @@ -43,15 +43,23 @@ foreach app:apps subdir(name) + if build + dep_objs = [] + foreach d:deps + var_name = get_option('default_library') + '_rte_' + d + if not is_variable(var_name) + build = false + message('Missing dependency "@0@" for app "@1@"'.format(d, name)) + break + endif + dep_objs += [get_variable(var_name)] + endforeach + endif + if not build continue endif - dep_objs = [] - foreach d:deps - dep_objs += get_variable(get_option('default_library') + '_rte_' + d) - endforeach - link_libs = [] if get_option('default_library') == 'static' link_libs = dpdk_static_libraries + dpdk_drivers