summaryrefslogtreecommitdiff
path: root/package/perl-xml-libxml/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-07-13 15:03:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-14 13:09:43 +0200
commit3d6dc9806852c53e3e0d87169cd9e9c771a1d73a (patch)
treeee7b8103df8b7799cf6535340ab08ef385e490c4 /package/perl-xml-libxml/Config.in
parent3f89df21b89111dae7f5700d3a853d13ec779a48 (diff)
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" <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>
Diffstat (limited to 'package/perl-xml-libxml/Config.in')
-rw-r--r--package/perl-xml-libxml/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/perl-xml-libxml/Config.in b/package/perl-xml-libxml/Config.in
index 9e3a44e3a..639a1e453 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