On Fri, Sep 18, 2009 at 01:48:53AM +0200, Tamas TEVESZ wrote:
> still, this sounds somewhat of a last resort, as in it will create elf 
> objects (binaries or libraries) with only the actually needed 
> dependencies, but it only seems better to actually know what is 
> needed, and record this knowledge in the build procedure, no?
You can't always filter-out unneeded libraries when it comes from
pkgconfig file or `smth-config --libs`.  But use of --as-needed
have one limitation - all libraries must be specified after
object files when linking application or library.

-- 
Regards,
Sir Raorn.

Attachment: signature.asc
Description: Digital signature

Reply via email to