From 47841eb2da42611938bac6947828ddac2799514b Mon Sep 17 00:00:00 2001 From: Ella Stanforth Date: Thu, 21 Apr 2022 16:03:46 +0000 Subject: [PATCH] expat: allow cross --- base/expat/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/expat/build.sh b/base/expat/build.sh index a9bde9a..ade1e38 100644 --- a/base/expat/build.sh +++ b/base/expat/build.sh @@ -4,6 +4,7 @@ bad="" mkdeps="bmake" deps="" ext="dev" +auto_cross fetch() { pkgver_r=$(echo $pkgver | tr '.' '_') @@ -14,7 +15,9 @@ fetch() { build() { cd $pkgname-$pkgver ./configure \ - --prefix=/usr + --prefix=/usr \ + --build=$HOST_TRIPLE \ + --host=$TRIPLE make }