[Buildroot] [PATCH 1/1] package/libarchive: add optional support for bzip2
Arnout Vandecappelle
arnout at mind.be
Wed Feb 10 21:19:07 UTC 2016
On 10-02-16 21:59, Bernd Kuhls wrote:
> 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 at t-online.de>
> ---
> package/libarchive/libarchive.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
> index 206de3f..f438d6e 100644
> --- a/package/libarchive/libarchive.mk
> +++ b/package/libarchive/libarchive.mk
> @@ -42,6 +42,12 @@ else
> LIBARCHIVE_CONF_OPTS += --disable-xattr
> endif
>
> +ifeq ($(BR2_PACKAGE_BZIP2),y)
> +LIBARCHIVE_DEPENDENCIES += bzip2
No --with-bz2lib? If there is a good reason, mention it in the commit log.
Regards,
Arnout
> +else
> +LIBARCHIVE_CONF_OPTS += --without-bz2lib
> +endif
> +
> ifeq ($(BR2_PACKAGE_EXPAT),y)
> LIBARCHIVE_DEPENDENCIES += expat
> else
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
More information about the buildroot
mailing list