package/perl-net-ssleay: not available for static link
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 Jul 2014 13:03:23 +0000 (15:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Jul 2014 11:09:27 +0000 (13:09 +0200)
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" <yann.morin.1998@free.fr>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/perl-net-ssleay/Config.in

index bc219b063e7c6424e8b6c14b09ddc63532ae0cdf..7cc5157cd24a940abb0874dbd071fd5bac1d96ef 100644 (file)
@@ -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