aboutsummaryrefslogtreecommitdiffstats
path: root/main/libiconv/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libiconv/APKBUILD')
-rw-r--r--main/libiconv/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD
index f71ddfc6c0..6070612941 100644
--- a/main/libiconv/APKBUILD
+++ b/main/libiconv/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=libiconv
pkgver=1.12
-pkgrel=7
+pkgrel=8
pkgdesc="GNU charset conversion library for libc which doesn't implement it"
url="http://www.gnu.org/software/libiconv"
arch="all"
@@ -34,7 +34,9 @@ package() {
make DESTDIR="$pkgdir/" install
rm "$pkgdir"/usr/lib/*.la
else
- mkdir -p "$pkgdir"/usr/include "$pkgdir"/usr/share/doc
+ mkdir -p "$pkgdir"/usr/include "$pkgdir"/usr/share/doc "$pkgdir"/usr/lib
+ # provide empty libiconv.a to allow -liconv linking
+ ar rc "$pkgdir"/usr/lib/libiconv.a
fi
}