From e1a9be60221747c3eb15ec1ebbad132737f78926 Mon Sep 17 00:00:00 2001 From: ensc Date: Thu, 11 Mar 2010 12:29:36 +0000 Subject: [PATCH] fixed DSO issues --- clamav.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clamav.spec b/clamav.spec index 3707843..e650f46 100644 --- a/clamav.spec +++ b/clamav.spec @@ -344,6 +344,8 @@ CFLAGS="$RPM_OPT_FLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -std export LDFLAGS='-Wl,--as-needed' # HACK: remove me, when configure uses $LIBS instead of $LDFLAGS for milter check export LIBS='-lmilter -lpthread' +# HACK: remove me... +export FRESHCLAM_LIBS='-lz' # IPv6 check is buggy and does not work when there are no IPv6 interface on build machine export have_cv_ipv6=yes %configure --disable-clamav --with-dbdir=/var/lib/clamav \