Waldemar Brodkorb dixit:

[ -Wl,-library-after ]

>> Is it desired?
>
>It is unclear to me, in which situation it is needed or not?
>Why is it working without it?

Suppose you build a package foo which contains a library,
libfoo, and an executable which uses it, foo. The executable
is linked against the library, usually with something like
| -L../lib -lfoo
added to LDFLAGS. The problem is that -L${STAGING_DIR}/usr/lib
comes before that, so the executable is linked against the
old version (possibly, if one exists).

It solved some of our recompilation and libtool issues in
MirPorts big time.

//mirabile
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to