On Sat, Sep 28, 2013 at 10:37:48AM +0200, Fabian Herb wrote: > > Am 28.09.2013 um 03:51 schrieb Matthew Fischer > <matthew.fisc...@canonical.com>: > > > On Fri, Sep 27, 2013 at 4:04 PM, Ted Gould <t...@ubuntu.com> wrote: > > On Fri, 2013-09-27 at 17:37 -0400, Scott Sweeny wrote: > > Why wouldn't you just statically link them? Seems like roughly the same > > for most applications that have a single binary. > > > > Ted > > > > > > In this specific instance we ended up in a black hole of static linking, I > > had about 4-5 libs specified before I found some for which we don't ship > > static stuff. Neither Scott nor I could figure out how to make Qt allow us > > to statically link some thing and dynamically link others. That would have > > also solved this specific issue. Is that possible? > > Statically linking a library usually just involves *building* that specific > library as a static one and then link as usual. Can you elaborate a bit more > on your problem? How is Qt involved in the linking step? > > Regards, > Fabian
Matt got farther than I did as far as statically linking the libraries so I'll let him address that part. The reason we mention Qt is that we started from the scope template in the Ubuntu SDK (as any developer would). Since it's a Qt Creator project the qmake build system is used to generate the makefiles. I suppose we can hand-edit the makefiles once they're generated but I believe Matt was asking how to have qmake specify a subset of libraries to be linked statically while the rest are dynamic. Additionally, some libraries in Ubuntu apparently don't ship static files in their -dev packages. Once again, we could build those statically by hand and include them but that's the kind of thing I was hoping to avoid as an outcome of this discussion. Cheers, ~Scott > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp