From 50617fcbe92a7335c688397940bca9e7f0d403f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <albator78@libertysurf.fr>
Date: Sun, 9 Aug 2015 10:46:34 +0200
Subject: RPM Packaging: fix openldap 2.4 support on RHEL 5

---
 redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'redhat/libraries/libtdeldap')

diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index 6948e0743..59ab7a1fb 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -176,7 +176,7 @@ export PATH="%{tde_bindir}:${PATH}"
   \
 %if 0%{?rhel} == 5
   --with-extra-includes=/usr/include/openldap24 \
-  --with-extra-libs=/usr/lib/openldap24 \
+  --with-extra-libs=%{_libdir}/openldap24 \
 %endif
 
 %__make %{?_smp_mflags}
-- 
cgit v1.2.1