pkg-config and path

Visti Andresen talpa at
Fri Jul 20 19:33:59 CEST 2007

Hi I'm trying to compile a graphical hello world 
And I would therefor like to run  'pkg-config --cflags gtk'

However both:
build/tmp/staging/i686-linux/bin/pkg-config --cflags gtk
build/tmp/work/i686-linux/pkgconfig-native-0.15.0-r2/pkgconfig-0.15.0/pkg-config --cflags gtk

-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include

which can't be good as it doesn't refer to the openmoko versions.

I have tried to set a couple of environment variables
but it didn't change the output...

Any one who knows how to make pkg-config return the proper path?

More information about the openmoko-devel mailing list