Thanks Nicolas

You're right. Now if you don't know ... 


> -----Original Message-----
> From: Nicolas Dechesne [mailto:[email protected]]
> Sent: mardi 1 juillet 2014 17:47
> To: Pierre Yves MORDRET
> Cc: [email protected]
> Subject: Re: [yocto] Can't add shared libraries into final image
> 
> On Tue, Jul 1, 2014 at 5:24 PM, Pierre Yves MORDRET <pierre-
> [email protected]> wrote:
> > I'm in front of an issue that I really don't understand. I wrote a quite 
> > simple
> recipe to integrate an RPM package.
> > At the end of compilation/install/packaging/rootfs, I saw my shared
> libraries were not part of the final image.
> > I understood quickly after checking  FILES_${PN}-dev. Since my shared
> libraries are .so (and not .so.X) , all of them fall into -dev package.
> >
> > Thus I naively add FILES_${PN} + =" ${libdir}/lib*.so " into my recipe ... 
> > I was
> sure this would solve my issue, but don't .
> > Instead my shared libraries still remain in -dev package.
> >
> > Does anyone can't tell me why ? or point me out my mistake ?
> 
> The -dev package is processed first during the packaging, so even though you
> try to add the .so in the main package, the files will be packaged in -dev 
> first.
> you need to make sure that the .so are not pulled into the -dev package:
> 
> FILES_SOLIBSDEV = ""
> FILES_${PN} += "${libdir}/*.so"
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to