Thread (62 messages) 62 messages, 5 authors, 2016-06-13

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

From: Thomas Monjalon <hidden>
Date: 2016-06-10 14:54:19

2016-06-10 15:49, Ferruh Yigit:
On 6/10/2016 2:19 PM, Thomas Monjalon wrote:
quoted
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 <redacted>
---
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.
I prefer avoiding garbage and have a justification for dependencies.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help