[maemo-developers] Static and dynamic linkage

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Dec 4 12:08:35 EET 2007
maemo at bitblit.net wrote:
> 
> Which would mean having to deal with SQLite as a dependency of this 
> package...
> 

I have similar problem with ScummVM. I really do not want to deal with 
all the dependencies and maintain them in Maemo extras repository so I 
am linking libmad, Tremor, FLAC, libmpeg etc. statically.

I don't know how to easily solve static vs dynamic linking flags too so 
my solution was to compile and install all those libraries inside 
scratchbox only statically (i.e. no .so, just .a) and point scummvm to 
them so linker does not find their dynamic libraries at all. Then you 
don't need to mess with linking flags and package builds fine.

Frantisek

More information about the maemo-developers mailing list