[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: meson build system
From: |
Werner LEMBERG |
Subject: |
Re: meson build system |
Date: |
Tue, 05 Jan 2021 15:59:30 +0100 (CET) |
> 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
Re: meson build system, Alexei Podtelezhnikov, 2021/01/05
Re: meson build system,
Werner LEMBERG <=