From 640ec06810ed0c3b0ef305f8e18519df25b95076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 8 Nov 2010 09:41:47 +0000
Subject: [PATCH]  - built against delivered zlib and openssl

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40014 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/apache.cfg | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/buildout/software-profiles/apache.cfg b/buildout/software-profiles/apache.cfg
index feafef84dc..a5260a304e 100644
--- a/buildout/software-profiles/apache.cfg
+++ b/buildout/software-profiles/apache.cfg
@@ -1,6 +1,10 @@
 [buildout]
 parts = apache
 
+extends =
+  ../software-profiles/openssl.cfg
+  ../software-profiles/zlib.cfg
+
 [apache]
 # inspired on http://old.aclark.net/team/aclark/blog/a-lamp-buildout-for-wordpress-and-other-php-apps/
 recipe = hexagonit.recipe.cmmi
@@ -31,3 +35,8 @@ configure-options = --enable-authn-alias
                     --enable-so
                     --enable-ssl
                     --with-included-apr
+                    --with-ssl=${openssl:location}
+                    --with-z=${zlib:location}
+
+environment =
+  LDFLAGS =-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib
-- 
2.30.9