[rsyslog/f20] Link to libhiredis explicitly

Tomas Heinrich theinric at fedoraproject.org
Fri Feb 21 17:17:20 UTC 2014


commit 61f84379554a24f8a34ed52ef3c7c1c48c5b31d7
Author: Tomas Heinrich <theinric at redhat.com>
Date:   Sun Feb 9 20:53:52 2014 +0100

    Link to libhiredis explicitly

 rsyslog.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/rsyslog.spec b/rsyslog.spec
index 644b75d..f186d1e 100644
--- a/rsyslog.spec
+++ b/rsyslog.spec
@@ -269,7 +269,7 @@ export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
 %if %{want_hiredis}
 # the hiredis-devel package doesn't provide a pkg-config file
 export HIREDIS_CFLAGS=-I/usr/include/hiredis
-export HIREDIS_LIBS=-L%{_libdir}
+export HIREDIS_LIBS="-L%{_libdir} -lhiredis"
 %endif
 %configure \
 	--prefix=/usr \
@@ -497,6 +497,7 @@ done
   linking the main binary with libee
 - replace rsyslog-7.3.15-imuxsock-warning.patch
   with rsyslog-7.4.8-imuxsock-wrn.patch
+- link to libhiredis explicitly
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.4.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list