Re: pkg-config question



Darin Adler <darin bentspoon com> writes:
> 
>    pkg-config --cflags libgnomecanvas-2.0
> 
> Should I expect to see "-I $prefix/include/libart-2.0" in the output, since
> libgnomecanvas header files include libart header files?

Yes. I in fact have that in my output:

$ pkg-config --cflags libgnomecanvas-2.0
 -I/usr/include/gnome-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0

> 
> If so, then how do I set that up correctly in the libgnomecanvas-2.0.pc
> file?

It comes from this line:

  Requires: libart-2.0 pango pangoft2 gtk+-2.0

The flags for requirements get merged in.

I'm not sure why yours isn't working...

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]