From 0db616a66f17b8be004882286702ccb164c78ea5 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 25 Dec 2010 16:24:04 +0100 Subject: [PATCH] Fix LDFLAGS to ensure proper compilation with MinGW. --- makefile.windows | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile.windows b/makefile.windows index 8e8281b..ed7c7ad 100755 --- a/makefile.windows +++ b/makefile.windows @@ -22,8 +22,8 @@ SDLC=/home/steve/Windows/bin/sdl-config CXXFLAGS += `$(SDLC) --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK) CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"\" -DGAMEPLAYMANUAL=\"doc/index.html\" -Wall -CXXFLAGS += -DLOCALEDIR=\"\" $(CFLAGS) -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT) -pg -Werror -LIBS = `$(SDLC) --libs` -lintl -lz -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -pg -lSDLmain +CXXFLAGS += -DLOCALEDIR=\"\" $(CFLAGS) -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT) -Werror +LIBS = -lmingw32 `$(SDLC) --libs` -lintl -lz -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -lSDL -lSDLmain -lwinmm -lgdi32 -mwindows OBJS += CAudio.o OBJS += CBoss.o -- 2.39.5