[yocto] dev package non-sym link
Rail Shafigulin
rail at esenciatech.com
Fri Dec 1 11:05:51 PST 2017
On Fri, Dec 1, 2017 at 12:12 AM, Alexander Kanavin
<alexander.kanavin at linux.intel.com> wrote:
> 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
Thanks for the reply. It worked. I will definitely will look into
meson and cmake at a later time.
--
Rail Shafigulin
Software Engineer
Esencia Technologies
--
*ESENCIA TECHNOLOGIES, INC.*3945 Freedom Circle, Suite #360,
Santa Clara CA 95054
________________________________________________________
Phone: +1 408 736 8284 Fax: +1 408 519 3475
http://www.esenciatech.com | http://www.lnttechservices.com
More information about the yocto
mailing list