aboutsummaryrefslogtreecommitdiff
path: root/test/postinstall/test_pkg-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/postinstall/test_pkg-config.sh')
-rwxr-xr-xtest/postinstall/test_pkg-config.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/postinstall/test_pkg-config.sh b/test/postinstall/test_pkg-config.sh
index a9ccabce..d170e189 100755
--- a/test/postinstall/test_pkg-config.sh
+++ b/test/postinstall/test_pkg-config.sh
@@ -11,6 +11,7 @@ main_setup $1 $2
echo "Running post-install tests with pkg-config (${BUILD_MODE})"
+export PKG_CONFIG="${PKG_CONFIG:-pkg-config}"
export PKG_CONFIG_PATH=${prefix}/lib/pkgconfig
if [ ${BUILD_MODE} = shared ]; then