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 \