From 3f89df21b89111dae7f5700d3a853d13ec779a48 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 13 Jul 2014 15:03:23 +0200 Subject: [PATCH] package/perl-net-ssleay: not available for static link Perl extensions are loaded at runtime with dlopen(), so it does not make sense to even build extensions that are written in C. perl-net-ssleay is (partly) written in C, so it is not available when doing a static build. Signed-off-by: "Yann E. MORIN" Cc: Francois Perrad Cc: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/perl-net-ssleay/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/perl-net-ssleay/Config.in b/package/perl-net-ssleay/Config.in index bc219b063e..7cc5157cd2 100644 --- a/package/perl-net-ssleay/Config.in +++ b/package/perl-net-ssleay/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_PERL_NET_SSLEAY bool "perl-net-ssleay" + depends on !BR2_PREFER_STATIC_LIB select BR2_PACKAGE_OPENSSL help Perl extension for using OpenSSL https://metacpan.org/release/Net-SSLeay + +comment "perl-net-ssleay needs a toolchain w/ dynamic library" + depends on BR2_PREFER_STATIC_LIB -- 2.30.2