]> git.droids-corp.org - dpdk.git/commitdiff
app: fix external dependency linking
authorDavid Marchand <david.marchand@redhat.com>
Fri, 5 Nov 2021 13:29:51 +0000 (14:29 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 7 Nov 2021 16:16:36 +0000 (17:16 +0100)
ext_deps was not used in app/meson.build
so testpmd dependency on jansson was ignored.
testpmd currently can be linked because metrics library is pulling
the dependency on libjansson.

Fixes: 59f3a8acbcdb ("app/testpmd: add flex item commands")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Gregory Etelson <getelson@nvidia.com>
app/meson.build

index e41a2e3902365be8aacfce9fa25da551c2fd7116..986c1a4ad48737d00499be967e7cc8edc6acc94c 100644 (file)
@@ -61,7 +61,7 @@ foreach app:apps
             c_args: cflags,
             link_args: ldflags,
             link_whole: link_libs,
-            dependencies: dep_objs,
+            dependencies: ext_deps + dep_objs,
             include_directories: includes,
             install_rpath: join_paths(get_option('prefix'), driver_install_path),
             install: true)