summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-05-18 12:29:41 -0700
committerKhem Raj <raj.khem@gmail.com>2010-05-18 12:29:41 -0700
commitdbb9b89e022d954b6b1e73c7fe824c176eef2132 (patch)
treed357f797ddbbdf3c6ec5aaf5d8f7f2d4c54df1b9 /recipes
parentde76b5319669f50bec6d1a5f2310f360aada1909 (diff)
util-linux-ng.inc: Dont add -lintl when USE_NLS="no"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 59ba319985..ec5ccc87e4 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -8,7 +8,7 @@ inherit autotools gettext
DEFAULT_PREFERENCE = "-1"
-INC_PR = "r23"
+INC_PR = "r24"
# allows for a release candidate
RC ?= ""
@@ -71,7 +71,7 @@ EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \
--with-fsprobe=builtin --enable-libuuid --enable-libblkid \
--enable-fsck --enable-reset"
-LDFLAGS_append_libc-uclibc = " -lintl"
+LDFLAGS_append_libc-uclibc = "${@['',' -lintl'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"
LDFLAGS_virtclass-native = "${BUILD_LDFLAGS}"
S = "${WORKDIR}/util-linux-ng-${PV}${RC}"