app: fix testpmd dependency on jansson
PATCH 1/1 app: fix testpmd dependency on jansson
ext_deps is not used in app/meson.build.
testpmd currently can be linked because metrics library is pulling the dependency on libjansson.
--- app/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
app/meson.build +1 -1
@@ -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)
Signature · 1 line
2.23.0
Hello David,
Thank you for the update.
Regards,
Gregory
Quoted 20 lines
ext_depsis not used in app/meson.build.
testpmd currently can be linked because metrics
library is pulling
the dependency on libjansson.Fixes 59f3a8acbcdb ("app/testpmd: add flexitem commands")
Signed-off-by: David Marchand
<[email protected]>--- app/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)app/meson.build +0
-0
app/meson.build foreach app:apps · line 64
Quoted 5 lines
app/meson.build +1
-1@@ -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,
Quoted 7 lines
app/meson.build +0
-0include_directories: includes, install_rpath: join_paths(get_option('prefix'),
driver_install_path),
install: true)
--
2.23.0
Thomas Monjalon
AppliedStrictly speaking, the jansson dependency is already described, so the fix is more about fixing the linking in general. That's why I chose this title: "app: fix external dependency linking"
Quoted 9 lines
Quoted 9 lines
ext_depsis not used in app/meson.build.
testpmd currently can be linked because metrics
library is pulling
the dependency on libjansson.Fixes 59f3a8acbcdb ("app/testpmd: add flexitem commands")
Signed-off-by David Marchand <[email protected]>
[...]
Quoted 6 lines
app/meson.build foreach app:apps · line 64
Quoted 4 lines
app/meson.build +1
-1- dependencies: dep_objs, + dependencies: ext_deps + dep_objs,Reviewed-by Gregory Etelson <[email protected]>
Applied, thanks.