From 214b1c0e6f443e11b6aeab1c3696ac59c047dd90 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Thu, 21 Jun 2012 07:26:09 +0900 Subject: [PATCH] nginx requires to build zlib by himself --- component/nginx/buildout.cfg | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/component/nginx/buildout.cfg b/component/nginx/buildout.cfg index a2b40da99..64189561e 100644 --- a/component/nginx/buildout.cfg +++ b/component/nginx/buildout.cfg @@ -5,17 +5,22 @@ extends = parts = nginx +[zlib-nginx] +<= zlib +recipe = hexagonit.recipe.download + [nginx] recipe = hexagonit.recipe.cmmi url = http://nginx.org/download/nginx-1.0.14.tar.gz + configure-options= --with-ipv6 - --with-zlib=${zlib:location}/lib - --with-ld-opt="-L ${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib" + --with-zlib=${zlib-nginx:location} + --with-ld-opt="-L ${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib-nginx:location}/lib" --with-cc-opt="-I ${pcre:location}/include" environment = PATH=${pkgconfig:location}/bin:%(PATH)s PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig CPPFLAGS =-I${libuuid:location}/include - LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib + LDFLAGS =-Wl,-rpath=${zlib-nginx:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib -- 2.30.9