[maemo-developers] How to include glib-object.h
From: David King davidk at openismus.comDate: Mon Mar 29 18:42:31 EEST 2010
- Previous message: How to include glib-object.h
- Next message: How to include glib-object.h
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2010-03-29 15:25, Murray Cumming <murrayc at 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/ | davidk at openismus.com
- Previous message: How to include glib-object.h
- Next message: How to include glib-object.h
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]