mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/libxml-parser-perl: add host-libxcrypt dependency
host-libxml-parser-perl compiles XS modules against the system perl
headers, which #include <crypt.h>. On build hosts without libcrypt-dev
installed, the build fails:
.../CORE/reentr.h:126:16: fatal error: crypt.h: No such file or directory
Declaring host-libxcrypt ensures crypt.h is present in the per-package
host sysroot before the build.
This can for example be reproduced on a minimal Debian Forky system,
where libc6-dev no longer pulls libxcrypt-dev.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
087a15f578
commit
7e036c739f
@@ -7,7 +7,7 @@
|
||||
LIBXML_PARSER_PERL_VERSION = 2.47
|
||||
LIBXML_PARSER_PERL_SOURCE = XML-Parser-$(LIBXML_PARSER_PERL_VERSION).tar.gz
|
||||
LIBXML_PARSER_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR
|
||||
HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat
|
||||
HOST_LIBXML_PARSER_PERL_DEPENDENCIES = host-expat host-libxcrypt
|
||||
LIBXML_PARSER_PERL_LICENSE = Artistic or GPL-1.0+
|
||||
LIBXML_PARSER_PERL_LICENSE_FILES = README
|
||||
LIBXML_PARSER_PERL_RUN_PERL = `which perl`
|
||||
|
||||
Reference in New Issue
Block a user