package/libarchive: add optional support for bzip2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 14:29:54 +0000 (15:29 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Feb 2016 14:50:38 +0000 (15:50 +0100)
commit67ce9dcb94a2100f4e09164b0cebf973e95885fd
tree0e4d80529ec1ac34eb638166ed4451dc1e97429a
parent7f41db8f9ac4c5c50b32c6e2315aa1e6aa72afb3
package/libarchive: add optional support for bzip2

When bzip2 was compiled before, libarchive will use it as optional
dependency:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libarchive.so.13.1.2 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libarchive/libarchive.mk