On Sun, 2019-03-17 at 11:34 +0800, Ye Xiaolong wrote:
> On 03/02, Ye Xiaolong wrote:
> > > >  _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET)  +=
> > > > -lrte_pmd_af_packet
> > > > +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_XDP)     +=
> > > > -lrte_pmd_af_xdp
> > > > -lelf -lbpf
> > > 
> > > Are symbols from libelf being used by the PMD?
> > 
> > Hmm, it is a leftover of RFC, libelf is no longer needed in this
> > version, will
> > remove it in next version.
> > 
> 
> Correction, libelf is needed for libbpf, so we still need to keep
> it. 

If libbpf needs libelf for its internal usage, it should be linked
against it itself. Unless symbols from libelf are used in static
functions defined in libbpf's public headers. Is this the case?

-- 
Kind regards,
Luca Boccassi

Reply via email to