On 11/30/2017 11:46 PM, Rail Shafigulin wrote:
do_install () {
   install -d ${D}${libdir}/
   install -m 0755 ${S}/libAnokiWave.so.1.0.1 ${D}${libdir}
   ln -s ${D}${libdir}/libAnokiWave.so.1.0.1 ${D}${libdir}/libAnokiwave.so.1
   ln -s ${D}${libdir}/libAnokiWave.so.1 ${D}${libdir}/libAnokiwave.so
}

You need to call 'ln -sr', then you'll get relative symlinks. Better yet, add some build system support to the project (meson, cmake), then it'll take care of these things for you.

Alex
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to