perl-XML-LibXML: fix cross
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
a08eb7ed3c
commit
09661b73c9
|
@ -13,4 +13,10 @@ license="Artistic, GPL-1"
|
|||
homepage="http://search.cpan.org/dist/${pkgname/perl-/}/"
|
||||
distfiles="${CPAN_SITE}/XML/${pkgname/perl-/}-${version}.tar.gz"
|
||||
checksum=721452e3103ca188f5968ab06d5ba29fe8e00e49f4767790882095050312d476
|
||||
nocross="yes" # tries to execute target-compiled binary during configure
|
||||
|
||||
pre_configure() {
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
# Disable link and execute check for libxml2
|
||||
sed -i Makefile.PL -e"s;_libxml_check_lib('xml2');1;"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user