From 7875eb10235f21ccb775dd6167fc3658013daddd Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Wed, 24 Feb 2010 17:42:22 +0000
Subject: [PATCH] Added LDFLAGS

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

diff --git a/buildout/software-profiles/memcached.cfg b/buildout/software-profiles/memcached.cfg
index 3fd34828ec..04bce5d47e 100644
--- a/buildout/software-profiles/memcached.cfg
+++ b/buildout/software-profiles/memcached.cfg
@@ -14,7 +14,10 @@ filename = attachment
 recipe = hexagonit.recipe.cmmi
 url = http://memcached.googlecode.com/files/memcached-1.4.4.tar.gz
 configure-options =
-  --with-libevent=${libevent:location}
+  --with-libevent=${libevent:location}  
 patches = ${memcached-strict-aliasing-patch:location}/${memcached-strict-aliasing-patch:filename}
 patch-options = -p1
 keep-compile-dir = true
+environment =
+    LDFLAGS =-Wl,-rpath=${libevent:location}/lib
+
-- 
2.30.9