util-linux-ng: ensure that LDFLAGS are clean on native build
authorRoman I Khimov <khimov@altell.ru>
Fri, 2 Apr 2010 14:46:30 +0000 (18:46 +0400)
committerRoman I Khimov <khimov@altell.ru>
Tue, 6 Apr 2010 18:27:36 +0000 (22:27 +0400)
uclibc-based configurations fail to build util-linux-ng-native because
of "-lintl". Fix LDFLAGS for native builds.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/util-linux-ng/util-linux-ng.inc

index d08ffb5..e4acd36 100644 (file)
@@ -8,7 +8,7 @@ inherit autotools
 
 DEFAULT_PREFERENCE = "-1"
 
-INC_PR = "r19"
+INC_PR = "r20"
 
 # allows for a release candidate
 RC ?= ""
@@ -72,6 +72,7 @@ EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \
 --enable-fsck --enable-reset"
 
 LDFLAGS_append_libc-uclibc = " -lintl"
+LDFLAGS_virtclass-native = "${BUILD_LDFLAGS}"
 
 S = "${WORKDIR}/util-linux-ng-${PV}${RC}"