i have forgotten my meson command :
meson .. \ --prefix=/opt/freetype \ --libdir=lib \ --buildtype=release \ --cross-file ../cross_toolchain.txt \ --default-library shared \ -Dzlib=system \ -Dbzip2=enabled\ -Dpng=enabled \ -Dharfbuzz=enabled Vincent Torri On Tue, Jul 28, 2020 at 7:26 AM Vincent Torri <vincent.to...@gmail.com> wrote: > > On Tue, Jul 28, 2020 at 7:18 AM Vincent Torri <vincent.to...@gmail.com> wrote: > > > > hello > > > > i've just tried. One thing : with bzip2 enabled, bz2.pc file is not > > found. Is there any reason why you check it ? Officially (bzip2 1.0.8 > > here : https://sourceware.org/pub/bzip2/) there is no pc file > > distributed with it. > > > > in the gitlab repo : https://gitlab.com/federicomenaquintero/bzip2, > > it's bzip2.pc and not bz2.pc. > > > > maybe your linux distro is adding bz2.pc, but i don't think it's this > > one that should be used in your meson.build (or try also bzip2 in > > addition to bz2) > > > > and compilation failed on Windows because of mmap does not exist on > that platform. > > Maybe i'll add windows support for that. > > regards > > Vincent Torri