On 2010-03-29 15:25, Murray Cumming <murr...@murrayc.com> wrote:
On Mon, 2010-03-29 at 11:24 +0200, Alberto Garcia wrote:
Actually you should include `pkg-config --cflags glib-2.0`
Well, actually, the location library apparently provides a pkg-config
file that he should check for instead, so he doesn't have to worry about
checking for its glib dependency.
However, this example suggests that the liblocation pkg-config file is
broken, because it suggests checking for glib too. Well, that whole
pkg-config call is very strange.
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Using_Location_API#Using_Location_API
CCing David so he can investigate.
I fixed the pkg-config invocation to be less misleading:
pkg-config --cflags --libs liblocation
and as the liblocation pkg-config file correctly depends on glib-2.0,
that is included automatically in the compiler and linker flags.
--
David King | http://amigadave.com/ | dav...@openismus.com
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers