All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-sunxi] handle no soname shared library
@ 2015-02-17 14:16 Qiang Yu
  2015-02-18 16:44 ` Qiang Yu
  0 siblings, 1 reply; 2+ messages in thread
From: Qiang Yu @ 2015-02-17 14:16 UTC (permalink / raw)
  To: yocto; +Cc: ebutera, Sergey Lapin, aguirre.nicolas

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 610 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-sunxi] handle no soname shared library
  2015-02-17 14:16 [meta-sunxi] handle no soname shared library Qiang Yu
@ 2015-02-18 16:44 ` Qiang Yu
  0 siblings, 0 replies; 2+ messages in thread
From: Qiang Yu @ 2015-02-18 16:44 UTC (permalink / raw)
  To: yocto; +Cc: ebutera, Sergey Lapin, Nicolas Aguirre

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

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@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
>

[-- Attachment #2: Type: text/html, Size: 2992 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-18 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 14:16 [meta-sunxi] handle no soname shared library Qiang Yu
2015-02-18 16:44 ` Qiang Yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.