mk: fix shared library dependencies of drivers
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 21 Oct 2015 14:18:27 +0000 (17:18 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 21:15:14 +0000 (22:15 +0100)
commit5f9115e58cc6f304ff4ade694cf5823d32887d1a
treed416551b1b1275367adbc4cf14276a9aacf79b74
parenta08634a224066c31376ac67cf26ffeac8ed86f0c
mk: fix shared library dependencies of drivers

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@redhat.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
drivers/net/bnx2x/Makefile
drivers/net/pcap/Makefile
drivers/net/szedata2/Makefile
drivers/net/xenvirt/Makefile
mk/rte.app.mk