summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 758010970..ab71e6f25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1041,6 +1041,7 @@ if test x$with_libidn != xno; then
if $PKGCONFIG --exists libidn; then
AC_MSG_RESULT(yes)
LIBS="$LIBS `$PKGCONFIG --libs libidn`"
+ CFLAGS="$CFLAGS `$PKGCONFIG --cflags libidn`"
HAVE_LIBIDN=-DHAVE_LIBIDN
else
AC_MSG_RESULT(no)