fixed DSO issues

This commit is contained in:
ensc 2010-03-11 12:29:36 +00:00
parent d5e872f115
commit e1a9be6022
1 changed files with 2 additions and 0 deletions

View File

@ -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 \