[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile FreeType Demos with static linking
From: |
Werner LEMBERG |
Subject: |
Re: Compile FreeType Demos with static linking |
Date: |
Thu, 01 Jul 2021 09:16:35 +0000 (UTC) |
> I just wanted to know if it is possible to compile the FreeType
> demos with static linking?
Yes, for example with
cd freetype-demos
meson subprojects update
meson setup --default-library static build
meson compile -C build
Of course, this only links the FreeType library statically into the
binary. Note that you will probably still see 'libfreetype.so' in the
list of dynamically linked libraries: This happens if the HarfBuzz
library is linked dynamically, which in turn needs FreeType.
Werner