mirror of git://git.gnupg.org/gnupg.git
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>
This commit is contained in:
parent
7a634e48b1
commit
3b6b8fe32a
|
@ -311,7 +311,7 @@ if [ "$myhost" = "w32" ]; then
|
||||||
$tsdir/configure --enable-maintainer-mode ${SILENT} \
|
$tsdir/configure --enable-maintainer-mode ${SILENT} \
|
||||||
--prefix=${w32root} \
|
--prefix=${w32root} \
|
||||||
--host=${host} --build=${build} SYSROOT=${w32root} \
|
--host=${host} --build=${build} SYSROOT=${w32root} \
|
||||||
PKG_CONFIG_LIBDIR=${w32root} \
|
PKG_CONFIG_LIBDIR=${w32root}/lib/pkgconfig \
|
||||||
${configure_opts} ${extraoptions} "$@"
|
${configure_opts} ${extraoptions} "$@"
|
||||||
rc=$?
|
rc=$?
|
||||||
exit $rc
|
exit $rc
|
||||||
|
|
Loading…
Reference in New Issue