summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-12-17 08:48:22 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-12-17 08:48:22 +0900
commit8d2bd9a0d4bba9b820bc03a9275441c39182d5b7 (patch)
tree30ac441c8b72b17162be32b779dd122a9543e0ab /src
parentf5e043ad271f431f2c35fc6b22fc51b448507b01 (diff)
downloadlibgpg-error-8d2bd9a0d4bba9b820bc03a9275441c39182d5b7.tar.gz
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 <gniibe@fsij.org>
Diffstat (limited to 'src')
-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="."