<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 30 September 2015 at 10:45, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><span class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">For multilib build, PKG_CONFIG_SYSROOT_DIR will be injected in values<br>
that are returned by &#39;<span class="il">pkg</span>-<span class="il">config</span> --libs xxx&#39;, such as for zlib:<br></div></blockquote></div><br></span>So why isn&#39;t this fixed in <span class="il">pkg</span>-<span class="il">config</span>?</div></blockquote><div><br></div><div>I&#39;ve just replicated this with a minimal test (build zlib, run pkg-config --libs zlib in a devshell) for &quot;normal&quot; and multilib configurations and this is clearly a bug in pkgconfig.  Please fix pkgconfig instead of playing whack-a-mole with where the bug causes problems.</div><div><br></div><div>Ross </div></div></div></div>