From 3d6dc9806852c53e3e0d87169cd9e9c771a1d73a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 13 Jul 2014 15:03:24 +0200 Subject: [PATCH] package/perl-xml-libxml: 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-xml-libxml is 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-xml-libxml/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/perl-xml-libxml/Config.in b/package/perl-xml-libxml/Config.in index 9e3a44e3ac..639a1e453e 100644 --- a/package/perl-xml-libxml/Config.in +++ b/package/perl-xml-libxml/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PERL_XML_LIBXML bool "perl-xml-libxml" + depends on !BR2_PREFER_STATIC_LIB select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PERL_XML_NAMESPACESUPPORT @@ -8,3 +9,6 @@ config BR2_PACKAGE_PERL_XML_LIBXML Interface to Gnome libxml2 xml parsing and DOM library https://bitbucket.org/shlomif/perl-xml-libxml + +comment "perl-xml-libxml needs a toolchain w/ dynamic library" + depends on BR2_PREFER_STATIC_LIB -- 2.30.2