mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 15:20:32 +01:00
parent
1d1d7ce414
commit
cbc7eec2e5
1 changed files with 9 additions and 1 deletions
10
README
10
README
|
|
@ -3,7 +3,6 @@ flags when compiling/linking a lot easier.
|
|||
|
||||
Report bugs at http://bugzilla.freedesktop.org/
|
||||
|
||||
|
||||
To use pkg-config, do something like the following in your configure.ac
|
||||
|
||||
PKG_CHECK_MODULES([GNOME], [gtk > 1.2.8 gnomeui >= 1.2.0])
|
||||
|
|
@ -31,4 +30,13 @@ for any version of gnomeui.
|
|||
|
||||
For more info, there's even a man page, try 'man pkg-config'
|
||||
|
||||
Building
|
||||
========
|
||||
To build pkg-config, you need glib installed already. Note that glib
|
||||
build-depends on pkg-config, but you can just set the corresponding
|
||||
environment variables (ZLIB_LIBS, ZLIB_CFLAGS are the only needed ones
|
||||
when this is written) to build it.
|
||||
|
||||
pkg-config also either needs an earlier version of itself to find glib
|
||||
or you need to set GLIB_CFLAGS and GLIB_LIBS to the correct values for
|
||||
where it's installed in your system.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue