mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Don't use -mwindows with Clang on Windows
Thanks to stigmha for pointing out this doesn't work in Windows.
This commit is contained in:
parent
75cce50a9c
commit
3c52f2dccc
1 changed files with 4 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -580,7 +580,10 @@ ifeq ($(PLATFORM),mingw32)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS= -lws2_32 -lwinmm -lpsapi
|
LIBS= -lws2_32 -lwinmm -lpsapi
|
||||||
|
# clang 3.4 doesn't support this
|
||||||
|
ifneq ("$(CC)", $(findstring "$(CC)", "clang" "clang++"))
|
||||||
CLIENT_LDFLAGS += -mwindows
|
CLIENT_LDFLAGS += -mwindows
|
||||||
|
endif
|
||||||
CLIENT_LIBS = -lgdi32 -lole32
|
CLIENT_LIBS = -lgdi32 -lole32
|
||||||
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
|
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue