<div dir="ltr">Thank you</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 9:27 PM, Mike Sheldon <span dir="ltr"><<a href="mailto:mike@mikeasoft.com" target="_blank">mike@mikeasoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 2013-12-22 at 19:11 +0530, Sadika Sumanapala wrote:<br>
> thank you. is there a way to deploy compiled shared libraries with<br>
> app?<br>
<br>
</div>Just include them in your rpm and set the -rpath value for your binary<br>
at compilation time (alternatively you could be setting LD_LIBRARY_PATH<br>
at runtime from your .desktop's Exec line). You can see an example of<br>
this in the CuteSpotify Sailfish port which includes libspotify (of<br>
particular interest will be src/<a href="http://src.pro" target="_blank">src.pro</a>):<br>
<br>
<a href="https://github.com/Elleo/cutespotify/tree/sailfish" target="_blank">https://github.com/Elleo/cutespotify/tree/sailfish</a><br>
<br>
It's not a perfect example as it doesn't work with the new out of tree<br>
builds that QtCreator does (I tend to just build from the command line,<br>
so haven't got around to updating it yet), but it should give a rough<br>
idea of what to do.<br>
<br>
Cheers,<br>
Mike.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</div></div></blockquote></div><br></div>