build: fix variable name in dependency error message
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 10 Jan 2019 10:29:19 +0000 (10:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 Jan 2019 11:24:57 +0000 (12:24 +0100)
The variable name in the error message had an extra '_' which caused
an actual meson error when the message would otherwise be printed to
give meaningful information about what was going wrong.

Fixes: 203b61dc5e18 ("build: improve error message for missing dependency")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
lib/meson.build

index 179c2ef..e8b40f5 100644 (file)
@@ -81,7 +81,7 @@ foreach l:libraries
                        foreach d:deps
                                if not is_variable('shared_rte_' + d)
                                        error('Missing dependency ' + d +
-                                               ' for library ' + lib_name)
+                                               ' for library ' + libname)
                                endif
                                shared_deps += [get_variable('shared_rte_' + d)]
                                static_deps += [get_variable('static_rte_' + d)]