On Thu, 1 Feb 2018 11:06:52 +0000 James Le Cuirot <[email protected]> wrote:
> On Thu, 1 Feb 2018 11:55:46 +0100 > Andreas Fink <[email protected]> wrote: > > > Hello, > > I have a question to the patch provided by the package > > app-portage/elt-patches, namely the file as-needed/2.4.3 > > > > Here I can see the following being added to ltmain.sh: > > + -Wl,--as-needed|-Wl,--no-as-needed) > > + deplibs="$deplibs $arg" > > + continue > > + ;; > > + > > > > In my understanding the order must be the opposite otherwise it has > > no effect to $deplibs, i.e. the line should be deplibs="$arg > > $deplibs". > > It's been like that in every version of the patch so it's probably > like that for a reason though I don't know what that reason is. This > is interesting as I gather the whole reason for the patch is that an > unpatched libtool inserts the flag in the wrong place. > Should I file a bug for this behaviour, or is this correct behaviour?
