> After compilation, I observed that the resultant freetype binary
> links to png, zlib and bzip2: [...]
> 
> However, if I look at the corresponding ftoption.h, the options for
> system zlib, png and zlib2 are commented out, leading to an
> inconsistency.

Indeed.  Please open a bug tracker issue.

> I build libraries that link in freetype and I (thought I could) rely
> on the macros in ftoption.h to determine how the freetype was
> configured (for the purposes of linking zlib etc when linking to the
> static library).

Is there a reason you can't use `freetype-config' or `freetype.pc'?
Both solutions can report the necessary static libraries:

  freetype-config --static --libs
  pkg-config --static --libs freetype2


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to