diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 12:50:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-08 13:11:51 +0100 |
commit | 3189e74559b7e5c304d7b5f73192b0fa722d8d01 (patch) | |
tree | d7f5d142596a26a47ab0d721ff80efbb3bfa4f33 /meta/recipes-support/attr/ea-acl.inc | |
parent | 4666045677c9f338e2e936f67fb7db2e04a58d4f (diff) | |
download | poky-3189e74559b7e5c304d7b5f73192b0fa722d8d01.tar.gz |
attr: Fix uclibc builds
attr needs libintl headers and libs. Add in the missing dependency and
ensure the linker flag gets passed in multilib builds by replacing the
PN == BPN check with a class-target override instead.
(From OE-Core rev: c19fb913006eb53025e5db1574d973c8d7ceec76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr/ea-acl.inc')
-rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 785ce0cf50..72f623e593 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc | |||
@@ -34,8 +34,8 @@ FILES_lib${BPN}-doc = "${mandir}/man2 \ | |||
34 | 34 | ||
35 | BBCLASSEXTEND = "native" | 35 | BBCLASSEXTEND = "native" |
36 | # Only append ldflags for target recipe and if USE_NLS is enabled | 36 | # Only append ldflags for target recipe and if USE_NLS is enabled |
37 | LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(d.getVar('PN', True) == d.getVar('BPN', True)) and (d.getVar('USE_NLS', True) == 'yes')]}" | 37 | LDFLAGS_append_libc-uclibc_class-target = "${@['', ' -lintl '][(d.getVar('USE_NLS', True) == 'yes')]}" |
38 | EXTRA_OECONF_append_libc-uclibc = "${@['', ' --disable-gettext '][(d.getVar('PN', True) == d.getVar('BPN', True)) and (d.getVar('USE_NLS', True) == 'no')]}" | 38 | EXTRA_OECONF_append_libc-uclibc_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS', True) == 'no')]}" |
39 | 39 | ||
40 | fix_symlink () { | 40 | fix_symlink () { |
41 | if test "${libdir}" = "${base_libdir}" ; then | 41 | if test "${libdir}" = "${base_libdir}" ; then |