[yocto] Copying Static library to libdir of YOCTO

Surya surya.n at easyarm.com
Tue Mar 28 04:02:38 PDT 2017


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



More information about the yocto mailing list