Re: glib-config 1.2 vs 2.0
- From: Billy O'Connor <billyoc gnuyork org>
- To: gtk-list gnome org
- Subject: Re: glib-config 1.2 vs 2.0
- Date: Sat, 03 Jan 2004 21:26:19 -0500
Jeff Abrahamson <jeff purple com> writes:
> I have both glib1.2 and glib2.0 installed (debian sarge).
>
> The normal makefile line (in 1.2) is something like
>
> CFLAGS=`glib-config --cflags` ...
>
> and so forth.
>
> But for all my googling and doc reading, I don't see how to specify
> that I want glib 2.0 instead of glib 1.2 for my app.
Sure do. glib-2.0 and up use pkg-config instead of glib-config. So
if you want to link against glib-2.0, just use
pkgconfig --cflags --libs glib-2.0 instead of glib-config.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]