More Windows fixes

This commit is contained in:
Evan Miller
2020-08-05 00:45:14 -04:00
parent 71969c29df
commit 36ba51db7a
4 changed files with 6 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ AC_SUBST(LFLAGS)
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
AS_CASE([$host],
[*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined"], [])
[*mingw*|*cygwin*], [LDFLAGS="$LDFLAGS -no-undefined -lWs2_32"], [])
dnl Enable -Wl,--as-needed by default to prevent overlinking
AC_ARG_ENABLE([as-needed],