Find static libidn2 via configure

This commit is contained in:
Tim Rühsen 2017-07-06 11:04:58 +02:00
parent 49c9fade7a
commit 90a1198939
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ fi
if test "$enable_runtime" = "libidn2" -o "$enable_builtin" = "libidn2"; then
# Check for libidn2
OLDLIBS=$LIBS
AC_SEARCH_LIBS(idn2_lookup_u8, idn2, HAVE_LIBIDN2=yes, AC_MSG_ERROR(You requested libidn2 but it is not installed.))
AC_SEARCH_LIBS(idn2_lookup_u8, idn2, HAVE_LIBIDN2=yes, AC_MSG_ERROR(You requested libidn2 but it is not installed.), -lunistring)
LIBS=$OLDLIBS
fi