> I can build freetype pretty easily if I use cmake+make, but
> apparently building with cmake doesn't provide a freetype-config
> script, [...]
Since I don't use cmake, I can't help here. It shouldn't be too
difficult to extend `CMakeLists.txt' so that it produces a
`freetype-config' script and a `freetype2.pc' file for pkg-config from
the templates located in `builds/unix'. Patches are welcomed :-)
> The emscripten doc suggests using emconfigure ./configure to pass
> the relevant environment variables to configure to make a cross
> compile for javascript work.
For UNIX, FreeType's top-level configure script simply passes all
options to `builds/unix/configure'. I think cross-compiling should
work just fine, using the standard `configure' incantation.
> But freetype's doc seems to say you should not try to pass custom
> env vars to freetype's build system.
What exactly are you referring to?
Werner
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype