summaryrefslogtreecommitdiffstats
path: root/main/swig
diff options
context:
space:
mode:
Diffstat (limited to 'main/swig')
-rw-r--r--main/swig/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD
index 2f9a30b59..3549002d8 100644
--- a/main/swig/APKBUILD
+++ b/main/swig/APKBUILD
@@ -12,7 +12,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}