diff options
Diffstat (limited to 'main/lua-iconv')
-rw-r--r-- | main/lua-iconv/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/lua-iconv/APKBUILD b/main/lua-iconv/APKBUILD index 75075904d8..8ddbaa2a7c 100644 --- a/main/lua-iconv/APKBUILD +++ b/main/lua-iconv/APKBUILD @@ -22,8 +22,12 @@ prepare() { build() { cd "$_builddir" - make CFLAGS="$CFLAGS" LFLAGS="-llua -liconv -shared $LDFLAGS" \ - || return 1 + if [ "$ALPINE_LIBC" = "eglibc" ]; then + LFLAGS="-llua -shared $LDFLAGS" + else + LFLAGS="-llua -liconv -shared $LDFLAGS" + fi + make CFLAGS="$CFLAGS" LFLAGS="$LFLAGS" || return 1 } package() { |