mingw & vc++ compatible curl library, binaries created with vc++ express (testing needed)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7668 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Alejandro V. Garcia
2013-11-15 12:51:38 +00:00
parent 486d32c03a
commit 37272f1b2f
2 changed files with 7 additions and 3 deletions
Binary file not shown.
+7 -3
View File
@@ -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...