aboutsummaryrefslogtreecommitdiffstats
path: root/main/libiconv/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 17:36:25 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 17:36:25 +0000
commit17c9b9ae80015ffbe2e8ca7dde716e36b7c4b81d (patch)
tree9ea19a8464282c7bc95f4853df58aa63943f2e7d /main/libiconv/APKBUILD
parentb547d11b1c06980711796c4257e83a5c8283d36d (diff)
downloadaports-17c9b9ae80015ffbe2e8ca7dde716e36b7c4b81d.tar.bz2
aports-17c9b9ae80015ffbe2e8ca7dde716e36b7c4b81d.tar.xz
main/libiconv: fix -liconv on fake version
provide empty libiconv.a so it satisfies -liconv link requirement.
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
}