with the option -noxs, the Pure Perl version is always built.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
config BR2_PACKAGE_PERL_NETADDR_IP
bool "perl-netaddr-ip"
- depends on !BR2_STATIC_LIBS
help
Manages IPv4 and IPv6 addresses and subnets
https://metacpan.org/release/NetAddr-IP
-comment "perl-netaddr-ip needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
PERL_NETADDR_IP_LICENSE = Artistic or GPLv1+
PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying
+# we always build the Pure Perl version.
+# the build of the native part of NetAddr::IP::Util is buggy.
PERL_NETADDR_IP_CONF_OPTS = -noxs
$(eval $(perl-package))