summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2011-05-16 21:47:38 +0200
committerTollef Fog Heen <tfheen@err.no>2011-05-16 21:47:38 +0200
commitcbc7eec2e5df1686db7e301627f9772cf4e2e080 (patch)
tree47ce981e74def77ccc83b8a3ed2b32b6863bb85e
parent1d1d7ce4147fcaa1f8b0b58cf67980dec2cde864 (diff)
Document how to build with circular build-deps.
Freedesktop #37266
-rw-r--r--README10
1 files changed, 9 insertions, 1 deletions
diff --git a/README b/README
index cb3c345..d31e711 100644
--- a/README
+++ b/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.