aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-12-16 23:48:22 +0000
committerNIIBE Yutaka <[email protected]>2021-12-16 23:48:22 +0000
commit8d2bd9a0d4bba9b820bc03a9275441c39182d5b7 (patch)
tree30ac441c8b72b17162be32b779dd122a9543e0ab
parentbuild: Update configure.ac for newer autoconf. (diff)
downloadlibgpg-error-8d2bd9a0d4bba9b820bc03a9275441c39182d5b7.tar.gz
libgpg-error-8d2bd9a0d4bba9b820bc03a9275441c39182d5b7.zip
tests: Fix gpg-error-config-test for PKG_CONFIG_LIBDIR.
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_LIBDIR. -- GnuPG-bug-id: 5740 Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--src/gpg-error-config-test.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpg-error-config-test.sh.in b/src/gpg-error-config-test.sh.in
index b888aa2..cd4a7e3 100644
--- a/src/gpg-error-config-test.sh.in
+++ b/src/gpg-error-config-test.sh.in
@@ -1,5 +1,9 @@
#!@INSTALLSHELLPATH@
+# For this test, we clear PKG_CONFIG_LIBDIR, so that gpgrt-config
+# command can access ./gpg-error.pc
+unset PKG_CONFIG_LIBDIR
+
srcdir=${0%/*}
PKG_CONFIG_PATH="."