--- ncurses-6.2/configure.orig	2020-02-17 11:53:12.221966500 +0200
+++ ncurses-6.2/configure	2020-02-17 11:53:18.504338200 +0200
@@ -17808,6 +17808,11 @@
 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
 cf_add_libs="$LIBS"
+case $host_os in #(vi
+mingw*)
+	cf_add_libs="$cf_add_libs -ltre -lintl -liconv"
+	;;
+esac
 # reverse order
 cf_add_0lib=
 for cf_add_1lib in -l$cf_regex_lib; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
