diff options
-rwxr-xr-x | tests/pkgconfig.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh index 75bb59d10a..584c5691f1 100755 --- a/tests/pkgconfig.sh +++ b/tests/pkgconfig.sh @@ -34,6 +34,12 @@ ${PKGCONFIG} --version >/dev/null || exit 77 PKG_CONFIG_PATH=${top_builddir}/lib export PKG_CONFIG_PATH +OTHER=$(${PKGCONFIG} --libs --static libidn) +if test -n "${OTHER}" && test "${string#*-R}" != "$string";then + echo "Found invalid string in libidn flags: ${OTHER}" + exit 77 +fi + set -e cat >$TMPFILE <<__EOF__ |