From 9e4d26399ea4464006b29ab86b731dee7f1481c9 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Tue, 8 Sep 2015 18:09:56 +0200 Subject: [PATCH] Switch Windows to dynamic binaries --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 580da760..8a6fe29a 100755 --- a/Makefile +++ b/Makefile @@ -233,7 +233,7 @@ LDFLAGS := -L/usr/local/lib -lm else ifeq ($(OSTYPE),OpenBSD) LDFLAGS := -L/usr/local/lib -lm else ifeq ($(OSTYPE),Windows) -LDFLAGS := -L/custom/lib -static -lws2_32 -lwinmm +LDFLAGS := -L/custom/lib -lws2_32 -lwinmm else ifeq ($(OSTYPE), Darwin) LDFLAGS := $(OSX_ARCH) -lm endif @@ -243,7 +243,7 @@ endif # Extra LDFLAGS for SDL ifeq ($(OSTYPE), Windows) ifeq ($(WITH_SDL2),yes) -SDLLDFLAGS := $(shell /custom/bin/sdl2-config --static-libs) +SDLLDFLAGS := $(shell /custom/bin/sdl2-config --libs) else # not SDL2 SDLLDFLAGS := -lSDL endif # SDL2