Re: -Wl,--as-needed considered possibly harmful
Romain Beauxis <email@example.com> writes:
> Ok, let's consider another very simple case:
> libshout allows to perform streaming of speex, vorbis, and theora formats.
> Hence, when asking for the libs to link with, you got -lspeex and -ltheora
> since it's needed to cover all build cases.
Why? Aren't you calling a function in libshout to stream such files?
libshout should then link against libseepx and libtheora, but why should
the *application* have to do so if it's using libshout?
This sounds broken to me.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>