From dbb9b89e022d954b6b1e73c7fe824c176eef2132 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 May 2010 12:29:41 -0700 Subject: util-linux-ng.inc: Dont add -lintl when USE_NLS="no" Signed-off-by: Khem Raj --- recipes/util-linux-ng/util-linux-ng.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes') 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}" -- cgit v1.2.3