]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/clamav: needs libtool
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 11 Mar 2017 12:58:52 +0000 (13:58 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 31 Jan 2018 12:02:27 +0000 (13:02 +0100)
commit2e7314247f3d90d42f541db0987c71f7b297b9fb
treeebd140013aac4637f0cbf75de8de74325e7e1ee8
parent2b1b52ba8e160c28495a5dc0ca0c6731a13dd7cd
package/clamav: needs libtool

clamav contains a copy of libltdl which is used when the libtool
package is not present, this increases the filesize of the target libs:

linked against libltdl.so:

-rwxr-xr-x 1 bernd bernd 1838528 Mär 11 13:21 output/target/usr/lib/libclamav.so.7.1.1

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libclamav.so.7.1.1 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libltdl.so.7]
 0x00000001 (NEEDED)                     Shared library: [libssl.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

not linked against libltdl.so:

-rwxr-xr-x 1 bernd bernd 1859548 Mär 11 13:21 output/target/usr/lib/libclamav.so.7.1.1

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libclamav.so.7.1.1 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libssl.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Therefore this patch adds libtool as hard dependency to clamav.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit a5b0607b4ab811d4cf55c760528093d439355bb7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/clamav/Config.in
package/clamav/clamav.mk