summaryrefslogtreecommitdiff
path: root/package/openjdk7
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-25 23:09:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-25 23:09:50 +0200
commitfd2e2c475aa62de99455aec3218dd9f90802531f (patch)
tree171610d3ee5e8dc9d81f81e5ebaf4ab746a6a5e4 /package/openjdk7
parent5271920485af86b89fde74be4ff7f535f431c4d0 (diff)
fix openjdk7 for uClibc-ng builds
Diffstat (limited to 'package/openjdk7')
-rw-r--r--package/openjdk7/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile
index c224a52f3..ef7754e35 100644
--- a/package/openjdk7/Makefile
+++ b/package/openjdk7/Makefile
@@ -22,6 +22,7 @@ PKG_URL:= http://openjdk.org/
PKG_SITES:= http://icedtea.classpath.org/download/source/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
+PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
DISTFILES:= icedtea-$(PKG_VERSION).tar.xz
WRKDIST= ${WRKDIR}/icedtea-${PKG_VERSION}
@@ -44,7 +45,7 @@ $(eval $(call PKG_template,OPENJDK7,openjdk7,$(PKG_VERSION)-${PKG_RELEASE},${PKG
CONFIG_STYLE:= basic
# uclibc needs -liconv
-ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
+ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
TARGET_LIBS:= -liconv
endif
# for UINTPTR_MAX in stdint.h