aboutsummaryrefslogtreecommitdiffstats
path: root/main/giflib
diff options
context:
space:
mode:
Diffstat (limited to 'main/giflib')
-rw-r--r--main/giflib/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD
index 81a5fc73a7..32f5c72161 100644
--- a/main/giflib/APKBUILD
+++ b/main/giflib/APKBUILD
@@ -24,7 +24,11 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
MAJOR=`echo $pkgver | sed 's/\([0-9]\+\)\..*/\1/'`
gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$pkgver || return 1