title: project dependent variables in pkg-config
body: <p>I'm trying to help the Ruby guys get the code working again on AIX.  The Ruby guys are trying to use pkg-config to help users write modules.  On AIX, the final link of the module needs to specify the entry point.  In Ruby, the convention is to name that entry point Init_foo where "foo" is the module that is being added.  Thus they need to add a flag: -eInit_foo</p>
  
  <p>But since Init_foo is not a constant, pkg-config barfs when the ruby.pc file is given to pkg-config.  I don't see a way to have variables in the pkg-config file that depend upon the target.</p>
  
  <p>I thought I would ask here how this problem might be solved.</p>