README: document --with-system-includedir and --with-system-libdir (closes #57)

pull/62/head
William Pitcock 2013-10-06 12:34:09 +00:00
parent 2ae72283fc
commit f35a9b7425
1 changed files with 18 additions and 0 deletions

View File

@ -47,6 +47,24 @@ compiled:
$ make $ make
$ sudo make install $ 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
Release tarballs are available at <http://tortois.es/~nenolod/distfiles/>. Release tarballs are available at <http://tortois.es/~nenolod/distfiles/>.