mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -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> (cherry picked from commitbbc08b15ae) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
40b20e5feb
commit
35381a360a
@@ -30,4 +30,10 @@ config BR2_PACKAGE_LIBARCHIVE_BSDCAT
|
|||||||
The 'bsdcat' program is a simple replacement tool
|
The 'bsdcat' program is a simple replacement tool
|
||||||
for zcat, bzcat, xzcat, and such.
|
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
|
endif
|
||||||
|
|||||||
@@ -46,6 +46,16 @@ else
|
|||||||
LIBARCHIVE_CONF_OPTS += --disable-bsdcat
|
LIBARCHIVE_CONF_OPTS += --disable-bsdcat
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||||
LIBARCHIVE_DEPENDENCIES += acl
|
LIBARCHIVE_DEPENDENCIES += acl
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user