When we build with --features bundled, we need to add this to the harfbuzz-sys/build.rs:
if cfg!(feature = "freetype") {
cfg.define("HAVE_FREETYPE", "1");
}
Unfortunately, this will fail as we need to set up additional build flags for the build to find freetype (and this is even more unfriendly on Windows).
This gets a bit annoying when freetype is in the default features ...