From: Arnout Vandecappelle Date: Tue, 4 Jul 2017 13:47:32 +0200 Subject: [Buildroot] [PATCH] libzip: depend on !BR2_STATIC_LIBS In-Reply-To: <20170704104830.oqdw4edgxppm4op2@tarshish> References: <1499163849-9884-1-git-send-email-brgl@bgdev.pl> <20170704104830.oqdw4edgxppm4op2@tarshish> Message-ID: <91898c3d-47c1-32ff-e92e-4d49893c76a8@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 04-07-17 12:48, Baruch Siach wrote: > Hi Bartosz, > > On Tue, Jul 04, 2017 at 12:24:09PM +0200, Bartosz Golaszewski wrote: >> Since version 1.2.0 libzip requires dynamic library capabilities. >> >> Fixes: http://autobuild.buildroot.net/results/c50/c50ffa5bf565e75333192edc89e2d39044d07f26/ >> Signed-off-by: Bartosz Golaszewski >> --- >> package/libzip/Config.in | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/package/libzip/Config.in b/package/libzip/Config.in >> index 54de9e5..0414186 100644 >> --- a/package/libzip/Config.in >> +++ b/package/libzip/Config.in >> @@ -1,8 +1,12 @@ >> config BR2_PACKAGE_LIBZIP >> bool "libzip" >> + depends on !BR2_STATIC_LIBS > > You need to propagate dependencies to packages that select BR2_PACKAGE_LIBZIP, > and their reverse dependencies, recursively. In this case libsigrok, > sigrok-cli, and pulseview are affected. Also, we usually put the reason in a comment, in this case: depends on !BR2_STATIC_LIBS # dlsym() Regards, Arnout > > baruch > >> select BR2_PACKAGE_ZLIB >> help >> C library for reading, creating, and modifying zip archives. This >> package also contains zipcmp, ziptorrent and zipmerge utilities. >> >> http://www.nih.at/libzip/ >> + >> +comment "libzip needs a toolchain w/ dynamic library" >> + depends on BR2_STATIC_LIBS > -- 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