On Tue, Jan 5, 2021 at 9:15 AM Alexei Podtelezhnikov <apodt...@gmail.com> wrote: > > On Tue, Jan 5, 2021 at 8:38 AM Vincent Torri <vincent.to...@gmail.com> wrote: > > In ftopion.h : > > > > #define FT_CONFIG_OPTION_USE_HARFBUZZ > > > > which seems wrong > > Another person is bitten by the command line that 'sed' ftoption.h one > way only... Neither Cmake, nor mason bother to 'sed' it back if the > option is disabled. > It is better to use -D than be lazy about editing files.
Please see ftoption_unset in builds/unix/configure.raw. This is how a robust build system should handle this. Our Cmake and meson scripts need to mature a bit to handle ftoption.h that was altered by whatever winds or failed builds. Or switch back to -D. Alexei