diff --git a/source/lib/libcurl.lib b/source/lib/libcurl.lib index 6008097d..714882bc 100644 Binary files a/source/lib/libcurl.lib and b/source/lib/libcurl.lib differ diff --git a/source/src/Makefile b/source/src/Makefile index 07de5c2b..0cd4f6e1 100644 --- a/source/src/Makefile +++ b/source/src/Makefile @@ -1,6 +1,10 @@ CXXFLAGS= -O3 -fomit-frame-pointer -CXX=clang++ # Use clang++, as g++ optimizations cause crashes... -override CXXFLAGS+= -Wall -fsigned-char +ifneq (,$(findstring MINGW,$(PLATFORM))) + CXXFLAGS+= -Wall -fsigned-char +else + CXX=clang++ # Use clang++, as g++ optimizations cause crashes... + override CXXFLAGS+= -Wall -fsigned-char +endif PLATFORM= $(shell uname -s) PLATFORM_PREFIX=native @@ -18,7 +22,7 @@ MV=mv ifneq (,$(findstring MINGW,$(PLATFORM))) WINDRES= windres CLIENT_INCLUDES= $(INCLUDES) -I../include -CLIENT_LIBS= -mwindows -L../lib -lSDL -lSDL_image -lzdll -lopengl32 -lenet -lOpenAL32 -llibvorbisfile -llibintl -lws2_32 -lwinmm -lcurl +CLIENT_LIBS= -mwindows -L../lib -lSDL -lSDL_image -lzdll -lopengl32 -lenet -lOpenAL32 -llibvorbisfile -llibintl -lws2_32 -lwinmm -llibcurl else USRLIB=$(shell if [ -e /usr/lib64 ]; then echo "/usr/lib64"; else echo "/usr/lib"; fi) # override CXXFLAGS+= -rdynamic # clang++ doesn't use this...