<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This may be of help:<br>
<br>
 &nbsp; &nbsp;<a href="http://www.mega-nerd.com/erikd/Blog/CodeHacking/MinGWCross/pkg-config.html" target="_blank">http://www.mega-nerd.com/erikd/Blog/CtheodeHacking/MinGWCross/pkg-config.html</a><br>
<br>
Erik<br><br></blockquote></div>Thank you for your reply,<br>I have read the article and I have realized two things:<br>&nbsp;1. That guy invokes pkg-config in the makefile instead of using pkg-config macros in <a href="http://configure.ac">configure.ac</a> (This is a very bad practice, for instance the user doesn&#39;t get warning if a package is missing)<br>
&nbsp;2. I don&#39;t want to do things that pkg-config should do by itself. The pkg-config autoconf macro should set the libdir according to $prefix or $host that are known. <br>I think that this is not implemented at this moment.<br>
What do you think?<br>Reagrds,<br>Matej<br></div>