[lazarus] CVS Updates
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Jun 25 10:46:02 EDT 2003
On Wed, 25 Jun 2003 16:54:01 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:
>
> [..]
> > Left to do:
> [..]
> > - other formats (jpg, png) ...
>
> Just curious, does the package system take care of library dependancies?
It takes care of linker options. The rest is up to the linker and the
compiler.
For instance, if a package has -lpng in the linker options (package
options->usage), all projects depending on it, will be compiled with this
option. You can see the inherited options in Compiler Options->Inheritance.
> IOW assume Lazarus uses some library for that (libpng, libjpg spring to
> mind), and the component is available, will the lazarus app link to libpng
> only when I use that control?
AFAIK giving the linker (ld) a -l option to use a lib means, the lib will be
used only if a function in the application uses the lib.
Mattias
More information about the Lazarus
mailing list