diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-07-15 18:48:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:37 +0100 |
commit | caf22e3ba2c33358992da0015841ef3fdbce7312 (patch) | |
tree | 7d2fd6287e306bf2f4e323d29d50e5c9101a2270 | |
parent | 0de9f32aeeee7e30bcc1614010f300bead1dace4 (diff) | |
download | poky-caf22e3ba2c33358992da0015841ef3fdbce7312.tar.gz |
acl,attr: Fix build failures when NLS is disabled on uclibc
Disable gettext support when NLS is not enabled
(From OE-Core rev: f7de0a4f02cfd021176759fc4ea7ebbc88da8ff8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/attr/acl_2.2.51.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr_2.4.46.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-support/attr/acl_2.2.51.bb b/meta/recipes-support/attr/acl_2.2.51.bb index 301d44ad09..18aac7c3e7 100644 --- a/meta/recipes-support/attr/acl_2.2.51.bb +++ b/meta/recipes-support/attr/acl_2.2.51.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require acl.inc | 1 | require acl.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "3fc0ce99dc5253bdcce4c9cd437bc267" | 5 | SRC_URI[md5sum] = "3fc0ce99dc5253bdcce4c9cd437bc267" |
6 | SRC_URI[sha256sum] = "06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225" | 6 | SRC_URI[sha256sum] = "06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225" |
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index b2ed9a1b7d..c11034069c 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -20,7 +20,3 @@ do_install_append() { | |||
20 | sed -i ${D}${libdir}/libattr.la -e \ | 20 | sed -i ${D}${libdir}/libattr.la -e \ |
21 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', | 21 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', |
22 | } | 22 | } |
23 | |||
24 | # Only append ldflags for target recipe | ||
25 | LDFLAGS_libc-uclibc += "${@['', '-lintl']['${PN}' == '${BPN}']}" | ||
26 | |||
diff --git a/meta/recipes-support/attr/attr_2.4.46.bb b/meta/recipes-support/attr/attr_2.4.46.bb index 9fef41b31c..fe8ab791f8 100644 --- a/meta/recipes-support/attr/attr_2.4.46.bb +++ b/meta/recipes-support/attr/attr_2.4.46.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require attr.inc | 1 | require attr.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "db557c17fdfa4f785333ecda08654010" | 5 | SRC_URI[md5sum] = "db557c17fdfa4f785333ecda08654010" |
6 | SRC_URI[sha256sum] = "dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f" | 6 | SRC_URI[sha256sum] = "dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f" |
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index afe2f1c544..9af5960bae 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc | |||
@@ -32,3 +32,6 @@ FILES_lib${PN}-doc = "${mandir}/man2 \ | |||
32 | ${mandir}/man3" | 32 | ${mandir}/man3" |
33 | 33 | ||
34 | BBCLASSEXTEND = "native" | 34 | BBCLASSEXTEND = "native" |
35 | # Only append ldflags for target recipe and if USE_NLS is enabled | ||
36 | LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(bb.data.getVar('PN', d, True) == bb.data.getVar('BPN', d , True)) and (bb.data.getVar('USE_NLS', d, True) == 'yes')]}" | ||
37 | EXTRA_OECONF_append_libc-uclibc = "${@['', ' --disable-gettext '][(bb.data.getVar('PN', d, True) == bb.data.getVar('BPN', d , True)) and (bb.data.getVar('USE_NLS', d, True) == 'no')]}" | ||