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

Jackson Harper jackson at novell.com
Tue Oct 19 11:31:32 EDT 2010


On Mon, 2010-10-18 at 18:04 -0400, Michael Hutchinson wrote:
> On Mon, Oct 18, 2010 at 10:58 AM, Jackson Harper <jackson at novell.com> wrote:
> > 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/'
> 
> Beware that this whole directory will get replaced when you upgrade Mono.
> 
> For this reason, MonoDevelop 2.4.1 (and master) looks in
> /Library/Frameworks/Mono.framework/External/pkgconfig and I'd like to
> fix a future version of Mono to have its pkgconfig look there too.
> I've added similar directories for MSBuild  extensions and MonoDoc
> docs called "xbuild" and "monodoc", unsurprisingly. A "gac" would
> probably be useful too.
> 

Awesome! But just so I am clear, xbuild in mono 2.8 does not support
this feature yet, right?

Thanks!
Jackson





More information about the Mono-devel-list mailing list