summaryrefslogtreecommitdiff
path: root/src/gpg-error-config-test.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg-error-config-test.sh.in')
-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="."