On Solaris include lib Crun for ICU, bug #4059.
[m4-moved-to-github.git] / ac_check_icu.m4
index 508032c..9bdf505 100644 (file)
@@ -64,6 +64,11 @@ AC_DEFUN([AC_CHECK_ICU],[
                    else
                        ICU_LIBS=`$ICU_CONFIG --ldflags`
                    fi
+                   case $host_os in
+                       solaris*)
+                           ICU_LIBS="$ICU_LIBS -lCrun"
+                           ;;
+                   esac
                    AC_MSG_RESULT($ICU_LIBS)
                else
                    ICU_CPPFLAGS=""