On 10/04/2011 08:36 AM, Phil Blundell wrote:
On Sat, 2011-09-24 at 11:56 -0700, Saul Wold wrote:
+fix_symlink () {
+       # Remove bad symlinks&  create the correct symlinks
+       if test -L ${libdir}/lib${BPN}.so ; then
+               rm -rf ${libdir}/lib${BPN}.so
+               ln -sf ${base_libdir}/lib${BPN}.so ${libdir}/lib${BPN}.so
+       fi

This breaks the build for me on micro.  I end up with a symlink pointing
to itself:

lrwxrwxrwx 1 pb pb 76 2011-10-04
16:09 /home/pb/oe/build-epia/build/tmp-eglibc/sysroots/x86_64-linux/lib/libattr.so 
->  /home/pb/oe/build-epia/build/tmp-eglibc/sysroots/x86_64-linux/lib/libattr.so

with predictably bad results.

Not good, I guess the change here would be to test if base_libdir and libdir are the same, would you confirm that this test would be right?

Thanks
        Sau!

p.



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to