freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] What modules to use?


From: Werner LEMBERG
Subject: Re: [Devel] What modules to use?
Date: Tue, 16 Nov 2004 14:07:26 +0100 (CET)

> > In my experience, I just used true type driver module,sfnt &
> > psname, but the lib size just reduce 20 K ( 331 K --> 312 K), so
> > it's not obviously.
>
> By default, the build system does build all modules. However, what
> will be really linked to the executable is determined by the content
> of ftmodule.h
>
> If you want to reduce the number of modules compiled in the library,
> you must modify the build system (i.e. some Makefiles) at this time.

There is a much simpler solution: Remove all subdirectories in the
`src' directory which you don't want to include (GNU make uses
wildcards to search all subdirectories for `module.mk' files).
Together with adjusting ftmodule.h you'll get what you want.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]