summaryrefslogtreecommitdiff
path: root/tests/pkgconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgconfig.sh')
-rwxr-xr-xtests/pkgconfig.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh
index 6bd4e62f9c..6fea21511e 100755
--- a/tests/pkgconfig.sh
+++ b/tests/pkgconfig.sh
@@ -31,6 +31,12 @@ echo "$CFLAGS"|grep sanitize && exit 77
${PKGCONFIG} --version >/dev/null || exit 77
+${PKGCONFIG} --libs nettle
+if test $? != 0;then
+ echo "Nettle was not found in pkg-config"
+ exit 77
+fi
+
PKG_CONFIG_PATH=${top_builddir}/lib
export PKG_CONFIG_PATH