title: How to write *.pc files for pkg-config on Windows?
body: <p>I've recently downloaded the gtk+ all-in-one bundle downloaded from the <a href="http://www.gtk.org/download-windows.html" rel="noreferrer">GTK+ website</a>, which works fine and allows me to build gtk+ applications on Windows using the MinGW compiler.</p>
  
  <p>However, when now looking at the *.pc files for pkg-config in lib/pkgconfig, I noticed something weird. Here's how the beginning of glib-2.0 looks like:</p>
  
  <pre><code>prefix=c:/devel/target/059c48de6b739307c37648aba3005b29
  exec_prefix=${prefix}
  libdir=${exec_prefix}/lib
  includedir=${prefix}/include
  </code></pre>
  
  <p>My gtk+ folder resides on a different drive than C:\ and I don't have a C:\devel folder at all. So what does this prefix stand for? What prefix would I use if I decided to write a *.pc file for easily linking my own application?</p>
  
  <p>Surprisingly enough, <em>using</em> pkg-config works as expected and returns the correct path the libraries and headers inside the gtk+ folder.</p>