[dpdk-dev] [PATCH v2 2/2] mk: fix shared library dependencies of drivers

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Dec 6 22:13:55 CET 2015


2015-12-06 19:46, Thomas Monjalon:
> From: Panu Matilainen <pmatilai at redhat.com>
> 
> Similar to commit 113c8e13c4201eee207723571f83aaf285277d75, but
> for bnx2x, pcap, sze2data and xenvirt PMDs.
> 
> Requiring applications to know about library internal details like
> dependencies to external helper libraries is a limitation of
> static linkage, shared libraries should always know their own
> dependencies for sane operation. This is especially highlighted
> with dlopen()'ed items, having applications link against about plugin
> internal dependencies goes on the side of absurd.
> 
> Note that linking with a shared combined library still requires to
> know the internal dependencies.
> 
> Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied shortly for RC3 preparation.


More information about the dev mailing list