mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/libarchive: add bsdunzip option
Add bsdunzip option to avoid the following build failure raised since bump to version 3.7.1 in commit7991d2c48aandc157e4ce8e: CCLD bsdunzip /home/autobuild/autobuild/instance-4/output-1/host/lib/gcc/powerpc-buildroot-linux-musl/12.3.0/../../../../powerpc-buildroot-linux-musl/bin/ld: cannot find -lz: No such file or directory By handling it explicitly, we can specify whether the dynamic or static library should be used, according to what we actually have available. Fixes: - http://autobuild.buildroot.org/results/aaf7fdefa0b7bd7e5ac743487c197544c1a2ce6f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Tested-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
77e945b003
commit
bbc08b15ae
@@ -30,4 +30,10 @@ config BR2_PACKAGE_LIBARCHIVE_BSDCAT
|
||||
The 'bsdcat' program is a simple replacement tool
|
||||
for zcat, bzcat, xzcat, and such.
|
||||
|
||||
config BR2_PACKAGE_LIBARCHIVE_BSDUNZIP
|
||||
bool "bsdunzip"
|
||||
help
|
||||
The 'bsdunzip' program is a simple replacement tool
|
||||
for Info-ZIP.
|
||||
|
||||
endif
|
||||
|
||||
@@ -46,6 +46,16 @@ else
|
||||
LIBARCHIVE_CONF_OPTS += --disable-bsdcat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDUNZIP),y)
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBARCHIVE_CONF_OPTS += --enable-bsdunzip=static
|
||||
else
|
||||
LIBARCHIVE_CONF_OPTS += --enable-bsdunzip=shared
|
||||
endif
|
||||
else
|
||||
LIBARCHIVE_CONF_OPTS += --disable-bsdunzip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
LIBARCHIVE_DEPENDENCIES += acl
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user