aboutsummaryrefslogtreecommitdiffstats
path: root/main/readline/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/readline/APKBUILD')
-rw-r--r--main/readline/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/readline/APKBUILD b/main/readline/APKBUILD
index 4fa4dc6232..12fa5501ba 100644
--- a/main/readline/APKBUILD
+++ b/main/readline/APKBUILD
@@ -35,9 +35,12 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make SHLIB_LIBS=-lncurses || return 1
}