Jeff Abrahamson on 4 Jan 2004 02:51:01 -0000


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

Re: [PLUG] glib-config


On Sat, Jan 03, 2004 at 08:35:16PM -0500, Jeff Abrahamson wrote:
>   [20 lines, 74 words, 458 characters]  Top characters: enolsfh.
> 
> I have both glib1.2 and glib2.0 installed (debian sarge).
> 
> The normal compile 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.

Answer:

    CFLAGS=`pkg-config --cflags glib-2.0`

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: pgpu05sWcBYzU.pgp
Description: PGP signature