summaryrefslogtreecommitdiff
path: root/meta/recipes-support/attr
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-06 11:25:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 11:26:05 +0100
commit46cd3527217821a7e9a8223dc45a43294b6c5e8d (patch)
tree5e52678c9dcde7ce3cc4b1112f5b507e0c3fb458 /meta/recipes-support/attr
parentfaaf7cc699e77454fc1e41e380655b99c05a19a0 (diff)
downloadopenembedded-core-46cd3527217821a7e9a8223dc45a43294b6c5e8d.tar.gz
openembedded-core-46cd3527217821a7e9a8223dc45a43294b6c5e8d.tar.bz2
openembedded-core-46cd3527217821a7e9a8223dc45a43294b6c5e8d.zip
acl/attr: don't make symlink if base_libdir = libdir
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.inc3
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)
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