From f3b82558eb5711ff65a0f21aab556599bf5a4cba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 3 Aug 2020 16:05:00 +0200 Subject: [PATCH] Fix ICU_CFLAGS in mono configure.ac (#40263) We need to set these defines so we don't use obsolete ICU functions and cause warnings, just like we do in the CMakeLists.txt version.. --- src/mono/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/configure.ac b/src/mono/configure.ac index 1c8d9cc..8a9996e 100644 --- a/src/mono/configure.ac +++ b/src/mono/configure.ac @@ -6884,7 +6884,7 @@ if test x$with_core = xonly; then if test x$have_shim_globalization = xyes || test x$cross_compiling = xyes; then ICU_SHIM_PATH=../../../libraries/Native/Unix/System.Globalization.Native if test x$target_wasm = xyes && test x$with_static_icu = xyes; then - ICU_CFLAGS="-DTARGET_UNIX -DU_DISABLE_RENAMING" + ICU_CFLAGS="-DTARGET_UNIX -DU_DISABLE_RENAMING -DHAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS -DHAVE_SET_MAX_VARIABLE" have_sys_icu=yes elif test x$target_osx = xyes; then ORIG_CPPFLAGS=$CPPFLAGS -- 2.7.4