<br>Hi, what about using a static library in your app?<br><div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "devel-request";<devel-request@lists.sailfishos.org>;</div><div><b>Date: </b> Fri, Sep 12, 2014 08:00 PM</div><div><b>To: </b> "devel"<devel@lists.sailfishos.org>; <wbr></div><div></div><div><b>Subject: </b> Devel Digest, Vol 5, Issue 12</div></div><div><br></div>Send Devel mailing list submissions to<br>        devel@lists.sailfishos.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel<br>or, via email, send a message with subject or body 'help' to<br>     devel-request@lists.sailfishos.org<br><br>You can reach the person managing the list at<br>   devel-owner@lists.sailfishos.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Include shared library (Reto Zingg)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 12 Sep 2014 10:43:21 +0300<br>From: Reto Zingg <reto.zingg@jolla.com><br>To: devel@lists.sailfishos.org<br>Subject: Re: [SailfishDevel] Include shared library<br>Message-ID: <5412A419.6010003@jolla.com><br>Content-Type: text/plain; charset=windows-1252; format=flowed<br><br>Hi,<br><br>On 11.09.2014 21:15, Steffen F?rster wrote:<br>> Hi<br>><br>> I want to include two shared libraries in my RPM file and need some<br>> help. What is the proper configuration to include the libraries in the<br>> RPM. The libraries should be installed in the directory<br>> /usr/share/harbour-masterpassword/lib (harbour restriction). I have read<br>> the code of the project https://github.com/Elleo/cutespotify but I don't<br>> see the missing configuration lines.<br>><br>> The application is executable but the RPM doesn't contain the shared<br>> libraries and the app uses the pre-installed libraries (harbour<br>> validation will fail).<br><br>It seem you are missing a (at least I didn't spot it...):<br><br>INSTALLS += lib<br><br>that would explain why it does not install the libs and are not in the rpm.<br><br>> The project code:<br>> https://github.com/steffen-foerster/harbour-masterpassword<br><br>I tried to compile your project, but seems out of the box it does not work.<br><br>Also the following you will need, to get it into Harbour:<br>https://harbour.jolla.com/faq#2.6.0<br><br><br>You can find an other example, which ships it's own libraries and is in <br>store here:<br>https://github.com/d0b3rm4n/harbour-sidudict<br><br>br<br>Reto<br><br>><br>> Thanks,<br>> Steffen<br>><br>> This is my configuration:<br>><br>> harbour-masterpassword.pro<br>> ==============================<br>> LIBS+=$$PWD/libssl/lib/libssl.so.10\<br>> $$PWD/libssl/lib/libcrypto.so.10<br>><br>> INCLUDEPATH += libssl/include/openssl<br>><br>> QMAKE_RPATHDIR += /usr/share/harbour-masterpassword/lib<br>><br>> lib.path = usr/share/harbour-masterpassword/lib/<br>><br>> lib.files += libssl/lib/libssl.so.10 \<br>> libssl/lib/libcrypto.so.10<br>><br>> harbour-masterpassword.spec<br>> ==============================<br>> # >> macros<br>> # list here all the libraries your RPM installs<br>> %define __requires_exclude ^libssl|libcrypto.*$<br>> # << macros<br>><br>> _______________________________________________<br>> SailfishOS.org Devel mailing list<br>> To unsubscribe, please send a mail to<br>> devel-unsubscribe@lists.sailfishos.org<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Devel mailing list<br>Devel@lists.sailfishos.org<br>https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel<br><br>End of Devel Digest, Vol 5, Issue 12<br>************************************</div>