mk: prepare dependencies in shared libraries not combined
authorThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 18:19:24 +0000 (19:19 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 21:15:14 +0000 (22:15 +0100)
commita08634a224066c31376ac67cf26ffeac8ed86f0c
treec314989838a73e163bfbea820a87f2214414ca7c
parent50de12a0809c86c3742a46ddb0b0802b762dbbf2
mk: prepare dependencies in shared libraries not combined

Some DPDK libraries have a dependency.
The Mellanox drivers embed this declaration in shared library case.
So the application do not need to know the dependency when linking.
But it cannot work with static libraries or the combined one.
Note that Mellanox drivers are currently not supported in a shared
combined library case.

Most of the DPDK libraries declare their dependencies to be linked
with the application in every cases, even when using drivers as
shared library plugins.
This patch improves the condition used for Mellanox drivers, so that
it can be applied to other drivers without breaking the shared
combined library case.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.app.mk