Find static libidn2 via configure
This commit is contained in:
parent
49c9fade7a
commit
90a1198939
|
@ -212,7 +212,7 @@ fi
|
||||||
if test "$enable_runtime" = "libidn2" -o "$enable_builtin" = "libidn2"; then
|
if test "$enable_runtime" = "libidn2" -o "$enable_builtin" = "libidn2"; then
|
||||||
# Check for libidn2
|
# Check for libidn2
|
||||||
OLDLIBS=$LIBS
|
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
|
LIBS=$OLDLIBS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue