summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2016-10-31 11:17:16 +0100
committerAndre Heinecke <aheinecke@intevation.de>2016-10-31 11:22:56 +0100
commit3b6b8fe32af7568ff51066d4c2e3679df6dea86f (patch)
treef5640479484d665866063aa6f8c061de7941a024 /autogen.sh
parentg10: Avoid gratuitious SQLite aborts and starving writers. (diff)
downloadgnupg2-3b6b8fe32af7568ff51066d4c2e3679df6dea86f.tar.xz
gnupg2-3b6b8fe32af7568ff51066d4c2e3679df6dea86f.zip
w32: Fix PKG_CONFIG_LIBDIR in --build-w32
* autogen.sh: Point pkg-config to the right location. -- PKG_CONFIG_LIBDIR is located to usually be /usr/lib/pkgconfig so in our case it should also point directly to the pkgconfig location and not the prefix. This fixes gnutls and sqlite detection. Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 10cc2034e..92c6df807 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -311,7 +311,7 @@ if [ "$myhost" = "w32" ]; then
$tsdir/configure --enable-maintainer-mode ${SILENT} \
--prefix=${w32root} \
--host=${host} --build=${build} SYSROOT=${w32root} \
- PKG_CONFIG_LIBDIR=${w32root} \
+ PKG_CONFIG_LIBDIR=${w32root}/lib/pkgconfig \
${configure_opts} ${extraoptions} "$@"
rc=$?
exit $rc