[dpdk-dev] [PATCH 2/7] build: remove unnecessary variable

Bruce Richardson bruce.richardson at intel.com
Wed Apr 29 12:29:27 CEST 2020


O Wed, Apr 29, 2020 at 12:19:38PM +0200, Thomas Monjalon wrote:
> 29/04/2020 12:08, Bruce Richardson:
> > Since all libraries are explicitly linked as part of a build, we no longer
> > need to track ones that should be always included for linking against apps.
> 
> I don't understand why telemetry was managed differently.
> 
Because it was never directly called by applications - and so unneeded from
the linkers viewpoint - but still needed to be linked in to allow apps to
support emitting telemetry data. Therefore it was needed to add it
explicitly because it was never in the required dependency list for each
app.

This wasn't needed for make, since all libs were always linked into make
builds. The previous patch in this set changes meson to behave that way
too.

/Bruce


More information about the dev mailing list