<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 10, 2014 at 12:02 PM, Yuras Shumovich <span dir="ltr"><<a href="mailto:shumovichy@gmail.com" target="_blank">shumovichy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, 2014-04-10 at 11:54 -0400, Brandon Allbery wrote:<br>
> On Thu, Apr 10, 2014 at 11:44 AM, Yuras Shumovich <<a href="mailto:shumovichy@gmail.com">shumovichy@gmail.com</a>>wrote:<br>> > Is it intentional change?<br>><br>
> Pretty sure it is intentional, because it's necessary for some options. ld<br>
> options are not in general position independent, and can't be.<br>
<br>
</div>Yes, I understand. But how the new behavior is better then the old one?</blockquote><div> </div><div>If it was not clear from what I said that some linker options must come before objects/libraries to have any effect then I am not sure what will clarify it for you.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> >     ld-options:  ./path/to/libsomething.a<br>><br>
> You're abusing ld-options. Use extra-libraries for this; if it doesn't work<br>
> then you have found another bug and should file it as such.<br>
<br>
</div>extra-libraries doesn't work because it links with libsomething.so<br>
instead of libsomething.a<br></blockquote><div><br></div><div>Don't specify it using -l..., specify the .a file just as you were with ld-options.</div></div><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div>
<div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div>
</div>
</div></div>