[yocto] [meta-sunxi] handle no soname shared library

Qiang Yu yuq825 at gmail.com
Wed Feb 18 08:44:56 PST 2015


do it by adding:

python package_do_shlibs_append() {

    pn = d.getVar('PN', True)

    libdir = d.getVar('libdir', True)

    shlibs_file = os.path.join(shlibswork_dir, pn + ".list")

    fd = open(shlibs_file, 'w')

    fd.write('libEGL.so:' + libdir + ':' + ver + '\n')

    fd.write('libGLESv1_CM.so:' + libdir + ':' + ver + '\n')

    fd.write('libGLESv2.so:' + libdir + ':' + ver + '\n')

    fd.close()

}

On Tue, Feb 17, 2015 at 10:16 PM, Qiang Yu <yuq825 at gmail.com> wrote:

> Hi all,
>
> I'm using meta-sunxi which provides binary libegl & libgles shared library
> files. They all
> link to a libMali.so file having no SONAME field in it. So it won't
> register libegl & libgles
> to shlib2 list when do_package, and other packages linking libegl &
> libgles won't add
> runtime dependent automatically at do_package.
>
> Any ideas to solve this problem? Why can't yocto just use file name when
> SONAME is
> missing?
>
> Regards,
> Qiang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150219/8c44ec07/attachment.html>


More information about the yocto mailing list