From f35a9b742545faade65238846740b628b00f9d73 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 6 Oct 2013 12:34:09 +0000 Subject: [PATCH] README: document --with-system-includedir and --with-system-libdir (closes #57) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index bc7f3dd..30a4f35 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,24 @@ compiled: $ make $ sudo make install +If you are installing pkgconf into a custom prefix, such as `/opt/pkgconf`, you will +likely want to define the default system includedir and libdir for your toolchain. +To do this, use the `--with-system-includedir` and `--with-system-libdir` configure +flags like so: + + $ ./configure \ + --prefix=/opt/pkgconf \ + --with-system-libdir=/lib:/usr/lib \ + --with-system-includedir=/usr/include + $ make + $ sudo make install + +If you want pkgconf to be used when you invoke `pkg-config`, you should install a +symlink for this. We do not do this for you, as we believe it is better for vendors +to make this determination themselves. + + $ ln -sf /usr/bin/pkgconf /usr/bin/pkg-config + ## release tarballs Release tarballs are available at .