All of lore.kernel.org
 help / color / mirror / Atom feed
* Copying Static library to libdir of YOCTO
@ 2017-03-28 11:02 Surya
  2017-03-28 12:18 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Surya @ 2017-03-28 11:02 UTC (permalink / raw)
  To: yocto

Hello ,

I am facing some issues , when trying to copy static libraries like 
libaccess.a  & liblang.a to ${libdir} of rootfs.

I can see those libraries in the  "usr/lib" directory of that particular 
package which is generated in "tmp/work" folder . But somehow these 
libraries are not copied to rootfs "/usr/lib" directory.

I am using below instructions:

         install -d ${D}${libdir}/
         install -m 0755 ${S}/accesslib_new/libaccess.a ${D}${libdir}

         install -d ${D}${libdir}/
         install -m 0755 ${S}/WebServices_LanguageLibrary/liblang.a 
${D}${libdir}


Any suggestion...


Thanks & regards
Surya


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

* Re: Copying Static library to libdir of YOCTO
  2017-03-28 11:02 Copying Static library to libdir of YOCTO Surya
@ 2017-03-28 12:18 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2017-03-28 12:18 UTC (permalink / raw)
  To: Surya; +Cc: yocto@yoctoproject.org

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

On 28 March 2017 at 12:02, Surya <surya.n@easyarm.com> wrote:

> I can see those libraries in the  "usr/lib" directory of that particular
> package which is generated in "tmp/work" folder . But somehow these
> libraries are not copied to rootfs "/usr/lib" directory.
>

Static libraries are part of the ${PN}-staticdev package, so won't be
installed if you just install the ${PN}-dev package.

Ross

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

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

end of thread, other threads:[~2017-03-28 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 11:02 Copying Static library to libdir of YOCTO Surya
2017-03-28 12:18 ` Burton, Ross

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.