aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnih/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libnih/APKBUILD')
-rw-r--r--main/libnih/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libnih/APKBUILD b/main/libnih/APKBUILD
index 2d6c0c26d8..7875ed96a0 100644
--- a/main/libnih/APKBUILD
+++ b/main/libnih/APKBUILD
@@ -27,10 +27,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--sysconfdir=/etc \
- --localstatedir=/var || return 1
+ --localstatedir=/var \
+ || return 1
make || return 1
}