add explicit libz inclusion
authorAndy Green <andy@warmcat.com>
Mon, 7 Mar 2011 17:52:00 +0000 (17:52 +0000)
committerAndy Green <andy@warmcat.com>
Mon, 7 Mar 2011 17:52:00 +0000 (17:52 +0000)
Reported-by: Pierre-Paul Lavoie <ppl@idios.org>
Signed-off-by: Andy Green <andy@warmcat.com>
lib/Makefile.am

index b98e6ef..9cd8a08 100644 (file)
@@ -16,7 +16,7 @@ endif
 
 libwebsockets_la_CFLAGS:=-rdynamic -fPIC -Wall -Werror -std=gnu99 -pedantic -c \
        -DDATADIR=\"@datadir@\" -DLWS_OPENSSL_CLIENT_CERTS=\"@clientcertdir@\"
-libwebsockets_la_LDFLAGS=-version-info 0:3
+libwebsockets_la_LDFLAGS=-lz -version-info 0:3
 
 all-local:
         ../scripts/kernel-doc -html \