Mailinglist Archive: opensuse (1596 mails)
| < Previous | Next > |
Re: [opensuse] where to place the library glib
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Fri, 30 Oct 2009 15:21:05 +0100
- Message-id: <20091030142105.GC22702@xxxxxxxxxxxxxxxx>
* Maura Monville (mauede@xxxxxxxxx) [20091030 14:05]:
You have to ask pkg-config for the ncessary compiler flags. For compiling So
for compiling you add $(pkg-config --cflags glib-2.0` to the gcc commandline
and for linking you add $(pkg-config --libs glib-2.0) like David wrote.
Philipp
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
/usr/lib/pkgconfig/glib.pc
You have to ask pkg-config for the ncessary compiler flags. For compiling So
for compiling you add $(pkg-config --cflags glib-2.0` to the gcc commandline
and for linking you add $(pkg-config --libs glib-2.0) like David wrote.
Philipp
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |