[dpdk-dev] [PATCH v2 2/6] mk: fix driver dependencies order for static application

Ferruh Yigit ferruh.yigit at intel.com
Fri Jun 10 16:49:58 CEST 2016

On 6/10/2016 2:19 PM, Thomas Monjalon wrote:
> On a linker command line, the dependencies must be declared after
> the libraries using them.
> It will avoid some issues when building an application with static
> libraries and --as-needed option.
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> ---

Do we need this which driver used which library detail?

I think it is enough to move all external library dependencies to the
last in command line, without paying attention who use it, Linker will
handle the rest, if that library is not required it won't be linked against.

More information about the dev mailing list