clamav: fix bzip2 detection
Configure gets confused if the host has bzip2 development headers, so force the results. Fixes: http://autobuild.buildroot.net/results/e73/e732d1bac8fe68fd8bba50e4e9d908be3d996c83/ http://autobuild.buildroot.net/results/1a4/1a46e53cf892534f1b3a16c249fa710485290b5a/ http://autobuild.buildroot.net/results/6d0/6d09379aaba0ccddddfee9e319b84687012fd5fc/ http://autobuild.buildroot.net/results/d23/d2310a2f265e7d22c025a61e064a3c29dc6213ef/ And many more. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1dbb7e8a82
commit
7e1728bb05
@ -32,6 +32,10 @@ CLAMAV_CONF_OPTS = \
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
CLAMAV_DEPENDENCIES += bzip2
|
||||
# autodetection gets confused if host has bzip2, so force it
|
||||
CLAMAV_CONF_ENV += \
|
||||
ac_cv_libbz2_libs=-lbz2 \
|
||||
ac_cv_libbz2_ltlibs=-lbz2
|
||||
else
|
||||
CLAMAV_CONF_OPTS += --disable-bzip2
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user