mingw add zlib paths

Based on work from Radu Sorici <soriciradu@gmail.com>

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2012-04-12 11:11:10 +08:00 committed by Andy Green
parent 796ce7ab15
commit 39347de0e0
2 changed files with 4 additions and 4 deletions

View file

@ -23,8 +23,8 @@ libwebsockets_la_CFLAGS:=-Wall -std=gnu99 -pedantic
libwebsockets_la_LDFLAGS:=
if MINGW
libwebsockets_la_CFLAGS+= -w -Iwin32port/win32helpers
libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc -lpthread -ldl -lws2_32 -L../win32port/win32helpers/ -lwebsock-w32
libwebsockets_la_CFLAGS+= -w -I../win32port/win32helpers -I ../win32port/zlib/
libwebsockets_la_LDFLAGS+= -lm -luser32 -ladvapi32 -lkernel32 -lgcc -lpthread -ldl -lws2_32 -L../win32port/zlib -L../win32port/win32helpers/ -lwebsock-w32
else
libwebsockets_la_CFLAGS+= -rdynamic -fPIC -Werror
libwebsockets_la_LDFLAGS+= -version-info 0:3

View file

@ -37,8 +37,8 @@ build_triplet = @build@
host_triplet = @host@
@EXT_GOOGLE_MUX_TRUE@am__append_1 = extension-x-google-mux.c
@LIBCRYPTO_FALSE@am__append_2 = md5.c sha-1.c
@MINGW_TRUE@am__append_3 = -w -Iwin32port/win32helpers
@MINGW_TRUE@am__append_4 = -lm -luser32 -ladvapi32 -lkernel32 -lgcc -lpthread -ldl -lws2_32 -L../win32port/win32helpers/ -lwebsock-w32
@MINGW_TRUE@am__append_3 = -w -I../win32port/win32helpers -I ../win32port/zlib/
@MINGW_TRUE@am__append_4 = -lm -luser32 -ladvapi32 -lkernel32 -lgcc -lpthread -ldl -lws2_32 -L../win32port/zlib -L../win32port/win32helpers/ -lwebsock-w32
@MINGW_FALSE@am__append_5 = -rdynamic -fPIC -Werror
@MINGW_FALSE@am__append_6 = -version-info 0:3
subdir = lib