acl/attr: don't make symlink if base_libdir = libdir
(From OE-Core rev: 46cd3527217821a7e9a8223dc45a43294b6c5e8d) (From OE-Core rev: c2d14090d6400f4d8cb140947ccb9b68f2086835) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
385365f689
commit
1e225af16e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue