Re: [SailfishDevel] Static build

2016-11-25 Thread Tone Kastlunger
Hm you mean static libs? On Wed, Nov 23, 2016 at 12:20 PM, Georg wrote: > That did the trick. Didn't kown that one can use -fPIC vor archives. I > always used it for shared librarys in the past. > > Am Di. Nov. 22 21:51:41 2016 GMT+0100 schrieb Tone Kastlunger: > > Recompile the mentioned librar

Re: [SailfishDevel] Static build

2016-11-23 Thread Georg
That did the trick. Didn't kown that one can use -fPIC vor archives. I always used it for shared librarys in the past. Am Di. Nov. 22 21:51:41 2016 GMT+0100 schrieb Tone Kastlunger: > Recompile the mentioned library with the -fPIC > > On Tue, Nov 22, 2016 at 10:50 PM, george b > wrote: > > > T

Re: [SailfishDevel] Static build

2016-11-22 Thread Tone Kastlunger
Recompile the mentioned library with the -fPIC On Tue, Nov 22, 2016 at 10:50 PM, george b wrote: > This was may assumption. > But when I try to combine the static library (libSwiften) within my qt > app, I got the following error during linking: > > g++ -Wl,-O1 -Wl,-rpath,/usr/share/kaidan/lib -

Re: [SailfishDevel] Static build

2016-11-22 Thread george b
This was may assumption. But when I try to combine the static library (libSwiften) within my qt app, I got the following error during linking: g++ -Wl,-O1 -Wl,-rpath,/usr/share/kaidan/lib -o kaidan main.o Kaidan.o RosterContoller.o RosterItem.o Persistence.o MessageController.o Database.o qrc_qml.

Re: [SailfishDevel] Static build

2016-11-22 Thread Andrey Kozhevnikov
of course you can static compile selected libraries only. -- Исходное сообщение -- От: "george b" Кому: "Sailfish OS Developers" Отправлено: 22.11.2016 23:05:17 Тема: [SailfishDevel] Static build Hi I try to develop a xmpp client [1], based on libSwiften. A console example compiled