diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-10-06 11:25:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-07 11:35:49 +0100 |
commit | 880a50611702032988ad85da2124b05f7d1aa0b7 (patch) | |
tree | fd38da8889b45829add7e729cf4c22b0da29dc8b /meta/recipes-support/attr | |
parent | bde7d3017332e57c9f2e295f81b7ac758fbb1e3f (diff) | |
download | poky-880a50611702032988ad85da2124b05f7d1aa0b7.tar.gz |
acl/attr: don't make symlink if base_libdir = libdir
(From OE-Core rev: 46cd3527217821a7e9a8223dc45a43294b6c5e8d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr')
-rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 22d7848fbf..6a45858b20 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc | |||
@@ -37,6 +37,9 @@ LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(bb.data.getVar('PN', d, True) | |||
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')]}" | 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')]}" |
38 | 38 | ||
39 | fix_symlink () { | 39 | fix_symlink () { |
40 | if test "${libdir}" = "${base_libdir}" ; then | ||
41 | return | ||
42 | fi | ||
40 | # Remove bad symlinks & create the correct symlinks | 43 | # Remove bad symlinks & create the correct symlinks |
41 | if test -L ${libdir}/lib${BPN}.so ; then | 44 | if test -L ${libdir}/lib${BPN}.so ; then |
42 | rm -rf ${libdir}/lib${BPN}.so | 45 | rm -rf ${libdir}/lib${BPN}.so |