> > Simply protect the whole code in the SVG module file(s) with > > #ifdef FT_CONFIG_OPTION_SVG > ... > #endif >
I tried this. But there's one problem with it. The `bzip2' module doesn't expose anything apart from some functions. However, my `svg' module exposes a renderer class with the name `ft_svg_renderer_class'. This gets added in the list of the default modules too. With the approach you suggested, This class doesn't get exposed when the macro FT_CONFIG_OPTION_SVG' isn't defined. That leads to an `undefined reference' error.
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel