From 6854618ad7e5614c32374d09104517197c4a51e7 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Fri, 3 Apr 2020 07:38:35 +0200
Subject: [PATCH] component/libevent2: Fixup LDFLAGS

---
 component/libevent/buildout.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/component/libevent/buildout.cfg b/component/libevent/buildout.cfg
index dc3a31411..c6f173076 100644
--- a/component/libevent/buildout.cfg
+++ b/component/libevent/buildout.cfg
@@ -16,4 +16,4 @@ url = https://github.com/libevent/libevent/releases/download/release-2.1.11-stab
 md5sum = 7f35cfe69b82d879111ec0d7b7b1c531
 environment =
   CPPFLAGS=-I${openssl:location}/include
-  LDFLAGS=-L${openssl:location}/lib
\ No newline at end of file
+  LDFLAGS=-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib
-- 
2.30.9