diff --git a/Makefile b/Makefile index 7513a0bf5d..847657ec7b 100644 --- a/Makefile +++ b/Makefile @@ -1434,6 +1434,7 @@ ifneq (,$(findstring MINGW,$(uname_S))) COMPAT_OBJS += compat/mingw.o compat/winansi.o \ compat/win32/pthread.o compat/win32/syslog.o \ compat/win32/dirent.o + BASIC_LDFLAGS += -Wl,--large-address-aware EXTLIBS += -lws2_32 PTHREAD_LIBS = X = .exe