--variable=prefix returns nothing

Peter Johansson trojkan at gmail.com
Wed Jun 23 14:05:23 PDT 2010

Hi Vincent,

Vincent Torri wrote:
> hey,
> we have a perfectly valid .pc file of a library, which works well on 
> linux and Windows. We use "pkg-config --variable=prefix mylib" to get 
> the prefix. On linux and windows, no problem. One of our user tried on 
> mac os x, and the command returns nothing. He compiled himself pkg-config.
> What is strange is that it occurs only for that precise .pc file. 
> Other .pc files have no problem at all. We are completely lost.
If you could post the .pc file, I can test it on my mac. The result 
might hint on what the problem is.


Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat

More information about the pkg-config mailing list