summaryrefslogtreecommitdiff
path: root/glibc/glibc_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc_cvs.oe')
-rw-r--r--glibc/glibc_cvs.oe4
1 files changed, 2 insertions, 2 deletions
diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe
index d5c2544431..2dd2707457 100644
--- a/glibc/glibc_cvs.oe
+++ b/glibc/glibc_cvs.oe
@@ -32,7 +32,7 @@ PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-d
# nptl needs unwind support in gcc, which can't be built without glibc.
PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}"
-PROVIDES += "virtual/libintl virtual/libiconv"
+PROVIDES += "${@['virtual/libiconv virtual/libintl', ''][oe.data.getVar('USE_NLS', d, 1) == 'no']}"
DEPENDS = "patcher-native ${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers"
INHIBIT_DEFAULT_DEPS = "1"
@@ -76,7 +76,7 @@ SRC_URI_append_arm = " file://dyn-ldconfig.patch;patch=1;pnum=0"
S = "${WORKDIR}/libc"
B = "${WORKDIR}/build-${TARGET_SYS}"
-inherit autotools
+inherit autotools gettext
EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
--without-cvs --disable-profile --disable-debug --without-gd \