chiark / gitweb /
setup: Help finding locally installed libraries.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 6 Dec 2011 10:22:32 +0000 (10:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 6 Dec 2011 10:22:32 +0000 (10:22 +0000)
pkg-config isn't as clever as the old mLib-finding macro, so help it
out.

setup

diff --git a/setup b/setup
index 705e3961d831fe55c4c517b6f9c607142c5dbf7e..b5fb47d5d57001736d3432787b6a3cd23c828d0c 100755 (executable)
--- a/setup
+++ b/setup
@@ -104,7 +104,10 @@ for system in $systems; do
       cd $dir
       mkdir build
       cd build
-      ../configure --prefix=$HOME$sub >>buildlog 2>&1
+      ../configure \
+       --prefix=$HOME$sub \
+       PKG_CONFIG_PATH=$HOME$sub/lib/pkgconfig \
+       >>buildlog 2>&1
       $echon " building$echoc"
       make >>buildlog 2>&1
       $echon " installing$echoc"