<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> If you're doing LTO with shared library, usually you're still producing<br>
> shared library that are not bitcode (i.e. the LTO is performed separately<br>
> within the boundary of each library).<br>
<br>
</span>Correct. If you want code to be linked in the binary (lto or not) you<br>
need to replace the shared library with a static one.<br></blockquote><div><br></div><div>I think I understand now. Thank you all for helping. </div><div><br></div><div>Tarun</div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 1:27 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I just want to avoid modifying the application's build system. If there's no<br>
> other way, I could go in and change the build scripts, but I'd like to avoid<br>
> doing that as much as possible.<br>
><br>
><br>
> If you're doing LTO with shared library, usually you're still producing<br>
> shared library that are not bitcode (i.e. the LTO is performed separately<br>
> within the boundary of each library).<br>
<br>
</span>Correct. If you want code to be linked in the binary (lto or not) you<br>
need to replace the shared library with a static one.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>