mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Switch Windows to dynamic binaries
This commit is contained in:
parent
0eb660609b
commit
9e4d26399e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue