Fix windows GH action (#399)

This commit is contained in:
Evan Miller
2022-12-17 05:33:40 -05:00
committed by GitHub
parent 9e1ec2a588
commit 0b96ecaff1
3 changed files with 25 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ AC_SUBST(LFLAGS)
CFLAGS="$CFLAGS -Wall -Werror"
LOCALE_T=locale_t
AS_CASE([$host],
[*mingw*], [LDFLAGS="$LDFLAGS -no-undefined" LOCALE_T=_locale_t], [])
[*mingw*], [LDFLAGS="$LDFLAGS -no-undefined" CFLAGS="$CFLAGS -D_spawnv=spawnv"], [])
AC_SUBST(LOCALE_T)
dnl See if iconv is present and wanted