[Mono-dev] Where should I install my pkg-config files on OS X?

Jackson Harper jackson at novell.com
Mon Oct 18 10:58:34 EDT 2010


For libev-sharp I'm trying to follow the developer guidelines for
unstable API.  Basically I create install my dll in
<prefix>/lib/libev-sharp/

Then to use libev-sharp projects should do:

cp `pkg-config --variable=Libraries Thing` build/.

The problem is on OS X I have no idea where libev-sharp should install
the libev-sharp.pc file. Using 

pkg-config --variable=pc_path pkg-config |  awk -F":" '{print $1}'

doesn't really help, I get a garbage directory like /tmp/pkg-config 

Should I just hardcode it to
'/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/'

Or is there something better I can do?


Jackson





More information about the Mono-devel-list mailing list