package/clamav: fix static build
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 25 Nov 2014 19:22:35 +0000 (20:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Nov 2014 21:35:43 +0000 (22:35 +0100)
commita3926f3a64f299e6d5463af8ad5ed63d2c6ba5fe
tree73b3608f8a6915bb470db6a3b11862729259982c
parentb89ce67523b6c18ded565b36fcc09876434cd026
package/clamav: fix static build

clamav unconditionally includes dlfcn.h which is missing on a uClibc
that is configured as a pure-static C library.

Thus, the build fails.

But the including file does not even makes use of any function from the
dlopen() familly, so it does not need to include dlfcn.h to start with.

Add a patch to clamav to not include dlfcn.h where not needed.

Fixes:
    http://autobuild.buildroot.net/results/b49/b491f4e5e1760248adb8d21b404e8aa15f7dbdd1/

[Peter: fix typo in patch description]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/clamav/clamav-0004-fix-static-build.patch [new file with mode: 0644]