summaryrefslogtreecommitdiffstats
path: root/main/afpfs-ng
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-08 09:30:57 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-08 09:31:07 +0100
commitabc55114f683b0cd9a3807a8f84759e7ef5ea4c1 (patch)
tree48017ebf89ca54c093b62f2e591ccde15f184fbf /main/afpfs-ng
parent0e6185fc64c1bd6ca4a8b3a3e9143c4adce293bc (diff)
downloadaports-abc55114f683b0cd9a3807a8f84759e7ef5ea4c1.tar.bz2
aports-abc55114f683b0cd9a3807a8f84759e7ef5ea4c1.tar.xz
main/afpfs-ng: fix build on eglibc
Diffstat (limited to 'main/afpfs-ng')
-rw-r--r--main/afpfs-ng/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/afpfs-ng/APKBUILD b/main/afpfs-ng/APKBUILD
index 67c174ef7..d5f94c371 100644
--- a/main/afpfs-ng/APKBUILD
+++ b/main/afpfs-ng/APKBUILD
@@ -38,7 +38,9 @@ prepare() {
build() {
cd "$_builddir"
autoreconf -vif || return 1
- export LDFLAGS="$LDFLAGS -liconv"
+ if [ "$ALPINE_LIBC" != "eglibc" ]; then
+ export LDFLAGS="$LDFLAGS -liconv"
+ fi
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \