From 46cd3527217821a7e9a8223dc45a43294b6c5e8d Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 6 Oct 2011 11:25:56 -0700 Subject: acl/attr: don't make symlink if base_libdir = libdir Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-support/attr/ea-acl.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 22d7848fb..6a45858b2 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) 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')]}" fix_symlink () { + if test "${libdir}" = "${base_libdir}" ; then + return + fi # Remove bad symlinks & create the correct symlinks if test -L ${libdir}/lib${BPN}.so ; then rm -rf ${libdir}/lib${BPN}.so -- cgit v1.2.3