Building Libpurple Statically
Nicholas Peshek
kbotc at mac.com
Thu Jul 2 04:00:47 UTC 2009
I'm assuming he's making an iPhone app.
On Jul 1, 2009, at 9:14 PM, "Evan Schoenberg, M.D." <evan at adium.im>
wrote:
>
> On Jul 1, 2009, at 8:52 PM, Kevin Hughes wrote:
>
>> I am trying to build libpurple statically for use in a programming
>> project of mine, and have run into some complications. I know
>> Adium used to build libpurple statically, but moved away from that
>> to building dynamically. What was the reason for this change?
>> What sort of issues were you having with building statically?
>>
>> I only need the yahoo protocol and the ssl plugins for my project;
>> would this simplify the issues you had?
>
> We built statically by creating an xcode project with all the files
> needed, along with all the dependencies as targets linked
> statically. The config.h file for each target was generated once,
> copied in, and then modified to have appropriate platform-specific
> #ifdef sections (PPC vs. Intel).
>
> We moved away from this because while it worked fine once it worked,
> it fell like a house of wet cards when trying to upgrade any
> dependency or libpurple itself, as libraries expect their
> autoconfigure to work, and we were literally short-circuiting it.
>
> There might be a better way than building statically - what are you
> trying to accomplish?
>
> Cheers,
> Evan
>
More information about the devel
mailing list