Subject: [alpine-aports] [PATCH] main/libuv: enable cross-compilation

From: alpine-mips-patches <[email-masked]>
Date: Tue, 15 Jan 2019 05:18:12 +0000

This is a trivial prerequisite for nodejs cross-compilation support.

Keep pkgrel instact since this change does not affect the produced apk.

---
 main/libuv/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/libuv/APKBUILD b/main/libuv/APKBUILD
index eb97e6616a..90d89d4204 100644
--- a/main/libuv/APKBUILD
+++ b/main/libuv/APKBUILD
@@ -8,7 +8,8 @@ pkgdesc="Cross-platform asychronous I/O"
 url="https://libuv.org"
 arch="all"
 license="MIT BSD ISC"
-makedepends="automake autoconf libtool linux-headers"
+makedepends_build="automake autoconf libtool"
+makedepends_host="linux-headers"
 subpackages="$pkgname-dev $pkgname-dbg"
 source="https://dist.libuv.org/dist/v$pkgver/$pkgname-v$pkgver.tar.gz
 	disable-setuid-test.patch
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---