> rm -rf builddir && mkdir builddir && cd builddir
> meson .. \
> --prefix=$3 \
> --libdir=lib \
> --buildtype=release \
> --strip \
> --cross-file ../cross_toolchain.txt \
> --default-library shared \
> -Dharfbuzz=disabled > ../../config.log 2>&1
I tried that, omitting the `--prefix` and `--cross-file` lines.
> ninja $verbninja install > ../../make.log 2>&1
I tried that, too, and for me everything works as expected.
> In ftopion.h :
>
> #define FT_CONFIG_OPTION_USE_HARFBUZZ
>
> which seems wrong
I don't get this. For me, the generated file `builddir/ftoption.h`
has HarfBuzz properly commented out.
Is it possible that another `ftoption.h` file is present in your
include path that takes precedence for whatever reason (e.g.,
cross-compiling)? Admittedly, I have never tried cross compilation
with meson, so there might be bugs lurking around...
Werner