[PATCH vkd3d 2/2] configure: Build demos with -municode on Mingw.

Alexandre Julliard julliard at winehq.org
Wed Feb 23 10:28:11 CST 2022


Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index bd580000b7a1..265dccc364c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,7 +142,7 @@ dnl Makefiles
 case $host_os in
   mingw32*)
       AC_SUBST([DEMO_LIBS],["-ld3d12 -ldxgi -lgdi32"])
-      AC_SUBST([DEMO_CFLAGS],[""])
+      AC_SUBST([DEMO_CFLAGS],["-municode"])
       ;;
   *) AS_IF([test "x$enable_demos" = "xyes" -a "x$HAVE_XCB" != "xyes"],
       [AC_MSG_ERROR([libxcb is required for demos.])])
-- 
2.34.1



More information about the wine-devel mailing list