On Tue, Oct 5, 2010 at 2:23 AM, Roger Dannenberg <rbd@...> wrote:
> After a recent update, I got a build error on OS X (v10.6, using Xcode
> 3.2.4) that says pkg-config is needed. I found the binary in
> /opt/local/bin/pkg-config, so I created a link to it from /usr/bin to
> get around the problem. I'm not sure what's the "right" way or how this
> is really supposed to work.
The way I do it is to add the path where pkg-config lives to the PATH
variable in your xcconfig file.
For example I have pkg-config in /sw/bin (from fink) so my xcconfig
has the line: